Geometry.fromJson constructor

Geometry.fromJson(
  1. dynamic json
)

Implementation

Geometry.fromJson(dynamic json) {
  _bounds = json['bounds'] != null ? Bounds.fromJson(json['bounds']) : null;
  _location =
      json['location'] != null ? Location.fromJson(json['location']) : null;
  _locationType = json['location_type'];
  _viewport =
      json['viewport'] != null ? Viewport.fromJson(json['viewport']) : null;
}