// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'tags_model.dart';

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

class TagsModelAdapter extends TypeAdapter<TagsModel> {
  @override
  final int typeId = 3;

  @override
  TagsModel read(BinaryReader reader) {
    final numOfFields = reader.readByte();
    final fields = <int, dynamic>{
      for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
    };
    return TagsModel(
      id: fields[0] as int?,
      taglabel: fields[1] as String?,
      category: fields[2] as String?,
    );
  }

  @override
  void write(BinaryWriter writer, TagsModel obj) {
    writer
      ..writeByte(3)
      ..writeByte(0)
      ..write(obj.id)
      ..writeByte(1)
      ..write(obj.taglabel)
      ..writeByte(2)
      ..write(obj.category);
  }

  @override
  int get hashCode => typeId.hashCode;

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