// GENERATED CODE - DO NOT MODIFY BY HAND part of 'test_hive.dart'; // ************************************************************************** // TypeAdapterGenerator // ************************************************************************** class AddtestofflinecredentialAdapter extends TypeAdapter { @override final int typeId = 2; @override Addtestofflinecredential read(BinaryReader reader) { final numOfFields = reader.readByte(); final fields = { 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; }