// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'location_info.dart';

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

LocationInfo _$LocationInfoFromJson(Map<String, dynamic> json) => LocationInfo(
      userId: json['userId'] as String?,
      longitude: (json['lng'] as num?)?.toDouble(),
      latitude: (json['lat'] as num?)?.toDouble(),
      address: json['addr'] as String?,
      lastUpdateTime: (json['timestamp'] as num?)?.toInt(),
    );

Map<String, dynamic> _$LocationInfoToJson(LocationInfo instance) =>
    <String, dynamic>{
      'userId': instance.userId,
      'lng': instance.longitude,
      'lat': instance.latitude,
      'addr': instance.address,
      'timestamp': instance.lastUpdateTime,
    };
