// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'dbmanager.dart';

// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************

class LocalImageInfoAdapter extends TypeAdapter<LocalImageInfo> {
  @override
  final int typeId = 0;

  @override
  LocalImageInfo read(BinaryReader reader) {
    final numOfFields = reader.readByte();
    final fields = <int, dynamic>{
      for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
    };
    return LocalImageInfo()
      ..localUrl = fields[0] as String?
      ..date = fields[1] as DateTime?;
  }

  @override
  void write(BinaryWriter writer, LocalImageInfo obj) {
    writer
      ..writeByte(2)
      ..writeByte(0)
      ..write(obj.localUrl)
      ..writeByte(1)
      ..write(obj.date);
  }

  @override
  int get hashCode => typeId.hashCode;

  @override
  bool operator ==(Object other) =>
      identical(this, other) ||
      other is LocalImageInfoAdapter &&
          runtimeType == other.runtimeType &&
          typeId == other.typeId;
}
