DetailViewport.fromJson constructor

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

Implementation

DetailViewport.fromJson(Map<String, dynamic> json) {
  if (json["northeast"] is Map)
    this.northeast =
        json["northeast"] == null ? null : DetailNortheast.fromJson(json["northeast"]);
  if (json["southwest"] is Map)
    this.southwest =
        json["southwest"] == null ? null : DetailSouthwest.fromJson(json["southwest"]);
}