PrivateRegistryAccessConfig.fromJson constructor

PrivateRegistryAccessConfig.fromJson(
  1. Map json_
)

Implementation

PrivateRegistryAccessConfig.fromJson(core.Map json_)
    : this(
        certificateAuthorityDomainConfig:
            json_.containsKey('certificateAuthorityDomainConfig')
                ? (json_['certificateAuthorityDomainConfig'] as core.List)
                    .map((value) => CertificateAuthorityDomainConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
      );