// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'atmob_track_point.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

AtmobTrackPoint _$AtmobTrackPointFromJson(Map<String, dynamic> json) =>
    AtmobTrackPoint(
      longitude: (json['lng'] as num).toDouble(),
      latitude: (json['lat'] as num).toDouble(),
      time: (json['ts'] as num).toInt(),
      speed: (json['speed'] as num?)?.toDouble(),
      bearing: (json['bearing'] as num?)?.toDouble(),
      addr: json['addr'] as String?,
      photo: json['photo'] as String?,
      id: (json['id'] as num?)?.toInt(),
    )..traceType = (json['traceType'] as num?)?.toInt();

Map<String, dynamic> _$AtmobTrackPointToJson(AtmobTrackPoint instance) =>
    <String, dynamic>{
      'lng': instance.longitude,
      'lat': instance.latitude,
      'ts': instance.time,
      'speed': instance.speed,
      'bearing': instance.bearing,
      'addr': instance.addr,
      'photo': instance.photo,
      'id': instance.id,
      'traceType': instance.traceType,
    };
