Location.fromJson constructor

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

Implementation

Location.fromJson(Map<String, dynamic> json) {
  lat = json["lat"];
  lng = json["lng"];
}