mobileapplicationPassvault/lib/hive_storage/test_hive.g.dart

46 lines
1.2 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'test_hive.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class AddtestofflinecredentialAdapter
extends TypeAdapter<Addtestofflinecredential> {
@override
final int typeId = 2;
@override
Addtestofflinecredential read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return Addtestofflinecredential(
username1: fields[0] as String,
usrid1: fields[1] as int,
);
}
@override
void write(BinaryWriter writer, Addtestofflinecredential obj) {
writer
..writeByte(2)
..writeByte(0)
..write(obj.username1)
..writeByte(1)
..write(obj.usrid1);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is AddtestofflinecredentialAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}