GeoLocation.fromJson constructor

GeoLocation.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GeoLocation.fromJson(Map<String, dynamic> json) {
  return GeoLocation(
    lat: json['lat'] as double?,
    lon: json['lon'] as double?,
  );
}