DnsZonePair.fromJson constructor

DnsZonePair.fromJson(
  1. Map json_
)

Implementation

DnsZonePair.fromJson(core.Map json_)
    : this(
        consumerPeeringZone: json_.containsKey('consumerPeeringZone')
            ? DnsZone.fromJson(json_['consumerPeeringZone']
                as core.Map<core.String, core.dynamic>)
            : null,
        producerPrivateZone: json_.containsKey('producerPrivateZone')
            ? DnsZone.fromJson(json_['producerPrivateZone']
                as core.Map<core.String, core.dynamic>)
            : null,
      );