ManagedZoneForwardingConfig.fromJson constructor

ManagedZoneForwardingConfig.fromJson(
  1. Map _json
)

Implementation

ManagedZoneForwardingConfig.fromJson(core.Map _json) {
  if (_json.containsKey("kind")) {
    kind = _json["kind"];
  }
  if (_json.containsKey("targetNameServers")) {
    targetNameServers = (_json["targetNameServers"] as core.List)
        .map<ManagedZoneForwardingConfigNameServerTarget>((value) =>
            new ManagedZoneForwardingConfigNameServerTarget.fromJson(value))
        .toList();
  }
}