99 lines
2.8 KiB
Dart
99 lines
2.8 KiB
Dart
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'eventspeakers.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// TypeAdapterGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
class SpeakersListAdapter extends TypeAdapter<SpeakersList> {
|
||
|
@override
|
||
|
final int typeId = 25;
|
||
|
|
||
|
@override
|
||
|
SpeakersList read(BinaryReader reader) {
|
||
|
final numOfFields = reader.readByte();
|
||
|
final fields = <int, dynamic>{
|
||
|
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
|
||
|
};
|
||
|
return SpeakersList(
|
||
|
uniqueId: fields[0] as String?,
|
||
|
hcpFullName: fields[1] as String?,
|
||
|
hcpPin: fields[2] as String?,
|
||
|
npiNum: fields[3] as int?,
|
||
|
specialty: fields[4] as String?,
|
||
|
organization: fields[5] as String?,
|
||
|
therapeuticArea: fields[6] as String?,
|
||
|
cleansStatus: fields[7] as dynamic,
|
||
|
isDeleted: fields[8] as int?,
|
||
|
createdByUser: fields[9] as CreatedByUser?,
|
||
|
updatedByUser: fields[10] as CreatedByUser?,
|
||
|
cityName: fields[11] as String?,
|
||
|
stateName: fields[12] as String?,
|
||
|
countryName: fields[13] as String?,
|
||
|
deletedByUser: fields[14] as dynamic,
|
||
|
formattedCreatedAt: fields[15] as DateTime?,
|
||
|
formattedUpdatedAt: fields[16] as DateTime?,
|
||
|
formattedDeletedAt: fields[17] as dynamic,
|
||
|
sessionNames: (fields[18] as List?)?.cast<String>(),
|
||
|
topics: (fields[19] as List?)?.cast<String>(),
|
||
|
);
|
||
|
}
|
||
|
|
||
|
@override
|
||
|
void write(BinaryWriter writer, SpeakersList obj) {
|
||
|
writer
|
||
|
..writeByte(20)
|
||
|
..writeByte(0)
|
||
|
..write(obj.uniqueId)
|
||
|
..writeByte(1)
|
||
|
..write(obj.hcpFullName)
|
||
|
..writeByte(2)
|
||
|
..write(obj.hcpPin)
|
||
|
..writeByte(3)
|
||
|
..write(obj.npiNum)
|
||
|
..writeByte(4)
|
||
|
..write(obj.specialty)
|
||
|
..writeByte(5)
|
||
|
..write(obj.organization)
|
||
|
..writeByte(6)
|
||
|
..write(obj.therapeuticArea)
|
||
|
..writeByte(7)
|
||
|
..write(obj.cleansStatus)
|
||
|
..writeByte(8)
|
||
|
..write(obj.isDeleted)
|
||
|
..writeByte(9)
|
||
|
..write(obj.createdByUser)
|
||
|
..writeByte(10)
|
||
|
..write(obj.updatedByUser)
|
||
|
..writeByte(11)
|
||
|
..write(obj.cityName)
|
||
|
..writeByte(12)
|
||
|
..write(obj.stateName)
|
||
|
..writeByte(13)
|
||
|
..write(obj.countryName)
|
||
|
..writeByte(14)
|
||
|
..write(obj.deletedByUser)
|
||
|
..writeByte(15)
|
||
|
..write(obj.formattedCreatedAt)
|
||
|
..writeByte(16)
|
||
|
..write(obj.formattedUpdatedAt)
|
||
|
..writeByte(17)
|
||
|
..write(obj.formattedDeletedAt)
|
||
|
..writeByte(18)
|
||
|
..write(obj.sessionNames)
|
||
|
..writeByte(19)
|
||
|
..write(obj.topics);
|
||
|
}
|
||
|
|
||
|
@override
|
||
|
int get hashCode => typeId.hashCode;
|
||
|
|
||
|
@override
|
||
|
bool operator ==(Object other) =>
|
||
|
identical(this, other) ||
|
||
|
other is SpeakersListAdapter &&
|
||
|
runtimeType == other.runtimeType &&
|
||
|
typeId == other.typeId;
|
||
|
}
|