// GENERATED CODE - DO NOT MODIFY BY HAND part of 'userdata_model.dart'; // ************************************************************************** // TypeAdapterGenerator // ************************************************************************** class UserDataAdapter extends TypeAdapter { @override final int typeId = 13; @override UserData read(BinaryReader reader) { final numOfFields = reader.readByte(); final fields = { for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(), }; return UserData( email: fields[1] as String?, name: fields[0] as String?, domainUrl: fields[2] as String?, imageBytes: fields[4] as String?, secretkey: fields[3] as String?, ); } @override void write(BinaryWriter writer, UserData obj) { writer ..writeByte(5) ..writeByte(0) ..write(obj.name) ..writeByte(1) ..write(obj.email) ..writeByte(2) ..write(obj.domainUrl) ..writeByte(3) ..write(obj.secretkey) ..writeByte(4) ..write(obj.imageBytes); } @override int get hashCode => typeId.hashCode; @override bool operator ==(Object other) => identical(this, other) || other is UserDataAdapter && runtimeType == other.runtimeType && typeId == other.typeId; }