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