// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'project_progress_model.dart';

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

class ProjectProgressModelAdapter extends TypeAdapter<ProjectProgressModel> {
  @override
  final typeId = 64;

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

  @override
  void write(BinaryWriter writer, ProjectProgressModel obj) {
    writer
      ..writeByte(2)
      ..writeByte(0)
      ..write(obj.id)
      ..writeByte(1)
      ..write(obj.status);
  }

  @override
  int get hashCode => typeId.hashCode;

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