UserLatLng.fromJson constructor

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

Implementation

UserLatLng.fromJson(Map<String, dynamic> json) {
  if (json["lat"] is double) this.lat = json["lat"];
  if (json["lng"] is double) this.lng = json["lng"];
}