228 lines
6.5 KiB
Dart
228 lines
6.5 KiB
Dart
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'neweventsmodel.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// TypeAdapterGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
class EventsListAdapter extends TypeAdapter<EventsList> {
|
||
|
@override
|
||
|
final int typeId = 2;
|
||
|
|
||
|
@override
|
||
|
EventsList read(BinaryReader reader) {
|
||
|
final numOfFields = reader.readByte();
|
||
|
final fields = <int, dynamic>{
|
||
|
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
|
||
|
};
|
||
|
return EventsList(
|
||
|
city: fields[0] as String?,
|
||
|
sponsors: fields[62] as String?,
|
||
|
speakerscount: fields[59] as String?,
|
||
|
topSpeakers: fields[61] as String?,
|
||
|
topTopics: fields[60] as String?,
|
||
|
isfav: fields[57] as bool,
|
||
|
isAttending: fields[58] as bool,
|
||
|
country: fields[1] as String?,
|
||
|
region: fields[2] as String?,
|
||
|
activityType: fields[3] as String?,
|
||
|
address: fields[4] as String?,
|
||
|
cityId: fields[5] as String?,
|
||
|
clientId: fields[6] as String?,
|
||
|
cnt: fields[7] as String?,
|
||
|
countryId: fields[8] as String?,
|
||
|
createdBy: fields[9] as String?,
|
||
|
createdOn: fields[10] as String?,
|
||
|
dAllowed: fields[11] as bool?,
|
||
|
eAllowed: fields[12] as bool?,
|
||
|
end: fields[13] as String?,
|
||
|
eventLat: fields[14] as String?,
|
||
|
eventLong: fields[15] as String?,
|
||
|
eventId: fields[16] as String?,
|
||
|
eventType: fields[17] as String?,
|
||
|
eventUniqueId: fields[18] as String?,
|
||
|
eventUserAttendee: fields[19] as bool?,
|
||
|
globalEventId: fields[20] as String?,
|
||
|
hcpPin: fields[21] as String?,
|
||
|
id: fields[22] as String?,
|
||
|
kolId: fields[23] as String?,
|
||
|
location: fields[24] as String?,
|
||
|
modifiedBy: fields[25] as String?,
|
||
|
modifiedOn: fields[26] as String?,
|
||
|
name1: fields[27] as String?,
|
||
|
notes: fields[28] as String?,
|
||
|
organizer: fields[29] as String?,
|
||
|
organizerAlias: fields[30] as String?,
|
||
|
organizerType: fields[31] as String?,
|
||
|
otype: fields[32] as String?,
|
||
|
partialcount: fields[33] as String?,
|
||
|
partiallyReleasedEvent: fields[34] as String?,
|
||
|
postalCode: fields[35] as String?,
|
||
|
profileType: fields[36] as String?,
|
||
|
projectId: fields[37] as String?,
|
||
|
role: fields[38] as String?,
|
||
|
sessionName: fields[39] as String?,
|
||
|
sessionNote: fields[40] as String?,
|
||
|
sessionNote1: fields[41] as String?,
|
||
|
sessionSponsor: fields[42] as String?,
|
||
|
sessionType: fields[43] as String?,
|
||
|
sponsorType: fields[44] as String?,
|
||
|
start: fields[45] as String?,
|
||
|
stateId: fields[46] as String?,
|
||
|
stype: fields[47] as String?,
|
||
|
subject: fields[48] as String?,
|
||
|
therapeuticArea: fields[49] as String?,
|
||
|
topic: fields[50] as String?,
|
||
|
topicName: fields[51] as String?,
|
||
|
type: fields[52] as String?,
|
||
|
updated: fields[53] as bool?,
|
||
|
url1: fields[54] as String?,
|
||
|
url2: fields[55] as String?,
|
||
|
userCount: fields[56] as String?,
|
||
|
);
|
||
|
}
|
||
|
|
||
|
@override
|
||
|
void write(BinaryWriter writer, EventsList obj) {
|
||
|
writer
|
||
|
..writeByte(63)
|
||
|
..writeByte(0)
|
||
|
..write(obj.city)
|
||
|
..writeByte(1)
|
||
|
..write(obj.country)
|
||
|
..writeByte(2)
|
||
|
..write(obj.region)
|
||
|
..writeByte(3)
|
||
|
..write(obj.activityType)
|
||
|
..writeByte(4)
|
||
|
..write(obj.address)
|
||
|
..writeByte(5)
|
||
|
..write(obj.cityId)
|
||
|
..writeByte(6)
|
||
|
..write(obj.clientId)
|
||
|
..writeByte(7)
|
||
|
..write(obj.cnt)
|
||
|
..writeByte(8)
|
||
|
..write(obj.countryId)
|
||
|
..writeByte(9)
|
||
|
..write(obj.createdBy)
|
||
|
..writeByte(10)
|
||
|
..write(obj.createdOn)
|
||
|
..writeByte(11)
|
||
|
..write(obj.dAllowed)
|
||
|
..writeByte(12)
|
||
|
..write(obj.eAllowed)
|
||
|
..writeByte(13)
|
||
|
..write(obj.end)
|
||
|
..writeByte(14)
|
||
|
..write(obj.eventLat)
|
||
|
..writeByte(15)
|
||
|
..write(obj.eventLong)
|
||
|
..writeByte(16)
|
||
|
..write(obj.eventId)
|
||
|
..writeByte(17)
|
||
|
..write(obj.eventType)
|
||
|
..writeByte(18)
|
||
|
..write(obj.eventUniqueId)
|
||
|
..writeByte(19)
|
||
|
..write(obj.eventUserAttendee)
|
||
|
..writeByte(20)
|
||
|
..write(obj.globalEventId)
|
||
|
..writeByte(21)
|
||
|
..write(obj.hcpPin)
|
||
|
..writeByte(22)
|
||
|
..write(obj.id)
|
||
|
..writeByte(23)
|
||
|
..write(obj.kolId)
|
||
|
..writeByte(24)
|
||
|
..write(obj.location)
|
||
|
..writeByte(25)
|
||
|
..write(obj.modifiedBy)
|
||
|
..writeByte(26)
|
||
|
..write(obj.modifiedOn)
|
||
|
..writeByte(27)
|
||
|
..write(obj.name1)
|
||
|
..writeByte(28)
|
||
|
..write(obj.notes)
|
||
|
..writeByte(29)
|
||
|
..write(obj.organizer)
|
||
|
..writeByte(30)
|
||
|
..write(obj.organizerAlias)
|
||
|
..writeByte(31)
|
||
|
..write(obj.organizerType)
|
||
|
..writeByte(32)
|
||
|
..write(obj.otype)
|
||
|
..writeByte(33)
|
||
|
..write(obj.partialcount)
|
||
|
..writeByte(34)
|
||
|
..write(obj.partiallyReleasedEvent)
|
||
|
..writeByte(35)
|
||
|
..write(obj.postalCode)
|
||
|
..writeByte(36)
|
||
|
..write(obj.profileType)
|
||
|
..writeByte(37)
|
||
|
..write(obj.projectId)
|
||
|
..writeByte(38)
|
||
|
..write(obj.role)
|
||
|
..writeByte(39)
|
||
|
..write(obj.sessionName)
|
||
|
..writeByte(40)
|
||
|
..write(obj.sessionNote)
|
||
|
..writeByte(41)
|
||
|
..write(obj.sessionNote1)
|
||
|
..writeByte(42)
|
||
|
..write(obj.sessionSponsor)
|
||
|
..writeByte(43)
|
||
|
..write(obj.sessionType)
|
||
|
..writeByte(44)
|
||
|
..write(obj.sponsorType)
|
||
|
..writeByte(45)
|
||
|
..write(obj.start)
|
||
|
..writeByte(46)
|
||
|
..write(obj.stateId)
|
||
|
..writeByte(47)
|
||
|
..write(obj.stype)
|
||
|
..writeByte(48)
|
||
|
..write(obj.subject)
|
||
|
..writeByte(49)
|
||
|
..write(obj.therapeuticArea)
|
||
|
..writeByte(50)
|
||
|
..write(obj.topic)
|
||
|
..writeByte(51)
|
||
|
..write(obj.topicName)
|
||
|
..writeByte(52)
|
||
|
..write(obj.type)
|
||
|
..writeByte(53)
|
||
|
..write(obj.updated)
|
||
|
..writeByte(54)
|
||
|
..write(obj.url1)
|
||
|
..writeByte(55)
|
||
|
..write(obj.url2)
|
||
|
..writeByte(56)
|
||
|
..write(obj.userCount)
|
||
|
..writeByte(57)
|
||
|
..write(obj.isfav)
|
||
|
..writeByte(58)
|
||
|
..write(obj.isAttending)
|
||
|
..writeByte(59)
|
||
|
..write(obj.speakerscount)
|
||
|
..writeByte(60)
|
||
|
..write(obj.topTopics)
|
||
|
..writeByte(61)
|
||
|
..write(obj.topSpeakers)
|
||
|
..writeByte(62)
|
||
|
..write(obj.sponsors);
|
||
|
}
|
||
|
|
||
|
@override
|
||
|
int get hashCode => typeId.hashCode;
|
||
|
|
||
|
@override
|
||
|
bool operator ==(Object other) =>
|
||
|
identical(this, other) ||
|
||
|
other is EventsListAdapter &&
|
||
|
runtimeType == other.runtimeType &&
|
||
|
typeId == other.typeId;
|
||
|
}
|