// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'project_status_model.dart';

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

class ProjectStatusModelAdapter extends TypeAdapter<ProjectStatusModel> {
  @override
  final typeId = 63;

  @override
  ProjectStatusModel read(BinaryReader reader) {
    final numOfFields = reader.readByte();
    final fields = <int, dynamic>{
      for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
    };
    return ProjectStatusModel(
      status: fields[0] as String,
      label: fields[1] as String,
      color: fields[2] as String,
      index: (fields[3] as num).toInt(),
    );
  }

  @override
  void write(BinaryWriter writer, ProjectStatusModel obj) {
    writer
      ..writeByte(4)
      ..writeByte(0)
      ..write(obj.status)
      ..writeByte(1)
      ..write(obj.label)
      ..writeByte(2)
      ..write(obj.color)
      ..writeByte(3)
      ..write(obj.index);
  }

  @override
  int get hashCode => typeId.hashCode;

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