Location.fromJson constructor
Implementation
factory Location.fromJson(Map<String, dynamic> json) {
return Location(
lat: json['lat'] != null ? json['lat'].toDouble() : null,
lng: json['lng'] != null ? json['lng'].toDouble() : null,
);
}