Geometry.fromJson constructor

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

Implementation

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