RetrieveGoogleDomainsForwardingConfigResponse.fromJson constructor

RetrieveGoogleDomainsForwardingConfigResponse.fromJson(
  1. Map json_
)

Implementation

RetrieveGoogleDomainsForwardingConfigResponse.fromJson(core.Map json_)
    : this(
        domainForwardings: json_.containsKey('domainForwardings')
            ? (json_['domainForwardings'] as core.List)
                .map((value) => DomainForwarding.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        emailForwardings: json_.containsKey('emailForwardings')
            ? (json_['emailForwardings'] as core.List)
                .map((value) => EmailForwarding.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );