// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'tmp_locations.dart';

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

class TmpLocationsAdapter extends TypeAdapter<TmpLocations> {
  @override
  final typeId = 100;

  @override
  TmpLocations read(BinaryReader reader) {
    final numOfFields = reader.readByte();
    final fields = <int, dynamic>{
      for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
    };
    return TmpLocations()
      ..lat = (fields[0] as num?)?.toDouble()
      ..long = (fields[1] as num?)?.toDouble();
  }

  @override
  void write(BinaryWriter writer, TmpLocations obj) {
    writer
      ..writeByte(2)
      ..writeByte(0)
      ..write(obj.lat)
      ..writeByte(1)
      ..write(obj.long);
  }

  @override
  int get hashCode => typeId.hashCode;

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