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