Geometry.fromJson constructor

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

Implementation

Geometry.fromJson(Map<String, dynamic> json) {
  location =
      json["location"] == null ? null : Location.fromJson(json["location"]);
  locationType = json["location_type"];
  viewport =
      json["viewport"] == null ? null : Viewport.fromJson(json["viewport"]);
}