// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'shalat_log.dart';

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

class ShalatLogAdapter extends TypeAdapter<ShalatLog> {
  @override
  final int typeId = 7;

  @override
  ShalatLog read(BinaryReader reader) {
    final numOfFields = reader.readByte();
    final fields = <int, dynamic>{
      for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
    };
    return ShalatLog(
      completed: fields[0] as bool,
      location: fields[1] as String?,
      qabliyah: fields[2] as bool?,
      badiyah: fields[3] as bool?,
    );
  }

  @override
  void write(BinaryWriter writer, ShalatLog obj) {
    writer
      ..writeByte(4)
      ..writeByte(0)
      ..write(obj.completed)
      ..writeByte(1)
      ..write(obj.location)
      ..writeByte(2)
      ..write(obj.qabliyah)
      ..writeByte(3)
      ..write(obj.badiyah);
  }

  @override
  int get hashCode => typeId.hashCode;

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