ManagedZoneForwardingConfig.fromJson constructor

ManagedZoneForwardingConfig.fromJson(
  1. Map json_
)

Implementation

ManagedZoneForwardingConfig.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        targetNameServers: json_.containsKey('targetNameServers')
            ? (json_['targetNameServers'] as core.List)
                .map((value) =>
                    ManagedZoneForwardingConfigNameServerTarget.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );