RRSetRoutingPolicyGeoPolicyGeoPolicyItem.fromJson constructor

RRSetRoutingPolicyGeoPolicyGeoPolicyItem.fromJson(
  1. Map json_
)

Implementation

RRSetRoutingPolicyGeoPolicyGeoPolicyItem.fromJson(core.Map json_)
    : this(
        healthCheckedTargets: json_.containsKey('healthCheckedTargets')
            ? RRSetRoutingPolicyHealthCheckTargets.fromJson(
                json_['healthCheckedTargets']
                    as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        location: json_.containsKey('location')
            ? json_['location'] as core.String
            : null,
        rrdatas: json_.containsKey('rrdatas')
            ? (json_['rrdatas'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        signatureRrdatas: json_.containsKey('signatureRrdatas')
            ? (json_['signatureRrdatas'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );