Geometry.fromJson constructor

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

Implementation

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