2024-09-06 06:30:31 +00:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'myeventsmodel.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// TypeAdapterGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
class MyEventsModelAdapter extends TypeAdapter<MyEventsModel> {
|
|
|
|
@override
|
2024-10-08 12:01:59 +00:00
|
|
|
final int typeId = 23;
|
2024-09-06 06:30:31 +00:00
|
|
|
|
|
|
|
@override
|
|
|
|
MyEventsModel read(BinaryReader reader) {
|
|
|
|
final numOfFields = reader.readByte();
|
|
|
|
final fields = <int, dynamic>{
|
|
|
|
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
|
|
|
|
};
|
|
|
|
return MyEventsModel(
|
|
|
|
eventid: fields[0] as String?,
|
|
|
|
hcpid: fields[1] as String?,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
void write(BinaryWriter writer, MyEventsModel obj) {
|
|
|
|
writer
|
|
|
|
..writeByte(2)
|
|
|
|
..writeByte(0)
|
|
|
|
..write(obj.eventid)
|
|
|
|
..writeByte(1)
|
|
|
|
..write(obj.hcpid);
|
|
|
|
}
|
|
|
|
|
|
|
|
@override
|
|
|
|
int get hashCode => typeId.hashCode;
|
|
|
|
|
|
|
|
@override
|
|
|
|
bool operator ==(Object other) =>
|
|
|
|
identical(this, other) ||
|
|
|
|
other is MyEventsModelAdapter &&
|
|
|
|
runtimeType == other.runtimeType &&
|
|
|
|
typeId == other.typeId;
|
|
|
|
}
|