ExchangedPeeringRoute.fromJson constructor

ExchangedPeeringRoute.fromJson(
  1. Map _json
)

Implementation

ExchangedPeeringRoute.fromJson(core.Map _json) {
  if (_json.containsKey("destRange")) {
    destRange = _json["destRange"];
  }
  if (_json.containsKey("imported")) {
    imported = _json["imported"];
  }
  if (_json.containsKey("nextHopRegion")) {
    nextHopRegion = _json["nextHopRegion"];
  }
  if (_json.containsKey("priority")) {
    priority = _json["priority"];
  }
  if (_json.containsKey("type")) {
    type = _json["type"];
  }
}