DetailGeometry.fromJson constructor

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

Implementation

DetailGeometry.fromJson(Map<String, dynamic> json) {
  if (json["location"] is Map)
    this.location = json["location"] == null ? null : DetailLocation.fromJson(json["location"]);
  if (json["viewport"] is Map)
    this.viewport = json["viewport"] == null ? null : DetailViewport.fromJson(json["viewport"]);
}