Geometry.fromJson constructor

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

Implementation

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