mobileApplicationsKonectarApp/lib/model/interaction_config_data.g.dart

48 lines
1.3 KiB
Dart
Raw Normal View History

2024-01-04 07:06:37 +00:00
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'interaction_config_data.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class InteractionConfigDataAdapter extends TypeAdapter<InteractionConfigData> {
@override
final int typeId = 19;
@override
InteractionConfigData read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return InteractionConfigData(
widgets: fields[1] as InteractionResultData,
id: fields[2] as String,
name: fields[3] as String,
);
}
@override
void write(BinaryWriter writer, InteractionConfigData obj) {
writer
..writeByte(3)
..writeByte(1)
..write(obj.widgets)
..writeByte(2)
..write(obj.id)
..writeByte(3)
..write(obj.name);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is InteractionConfigDataAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}