LocationModelResponse.fromJson constructor

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

Implementation

LocationModelResponse.fromJson(Map<String, dynamic> json) {
  latitude = json["latitude"];
  longitude = json["longitude"];
  address = json["address"] == null
      ? null
      : KruzrAddress.fromJson(json["address"]);
}