Geolocation.fromJson constructor
Implementation
factory Geolocation.fromJson(Map<String, dynamic> json) {
return Geolocation(
latitude: json["latitude"] != null ? double.parse(json["latitude"]) : null,
longitude: json["longitude"] != null ? double.parse(json["longitude"]) : null,
);
}