ExchangedPeeringRoute.fromJson constructor

ExchangedPeeringRoute.fromJson(
  1. Map json_
)

Implementation

ExchangedPeeringRoute.fromJson(core.Map json_)
    : this(
        destRange: json_.containsKey('destRange')
            ? json_['destRange'] as core.String
            : null,
        imported: json_.containsKey('imported')
            ? json_['imported'] as core.bool
            : null,
        nextHopRegion: json_.containsKey('nextHopRegion')
            ? json_['nextHopRegion'] as core.String
            : null,
        priority: json_.containsKey('priority')
            ? json_['priority'] as core.int
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );