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