ManagedCertificate.fromJson constructor

ManagedCertificate.fromJson(
  1. Map json_
)

Implementation

ManagedCertificate.fromJson(core.Map json_)
    : this(
        authorizationAttemptInfo:
            json_.containsKey('authorizationAttemptInfo')
                ? (json_['authorizationAttemptInfo'] as core.List)
                    .map((value) => AuthorizationAttemptInfo.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        dnsAuthorizations: json_.containsKey('dnsAuthorizations')
            ? (json_['dnsAuthorizations'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        domains: json_.containsKey('domains')
            ? (json_['domains'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        issuanceConfig: json_.containsKey('issuanceConfig')
            ? json_['issuanceConfig'] as core.String
            : null,
        provisioningIssue: json_.containsKey('provisioningIssue')
            ? ProvisioningIssue.fromJson(json_['provisioningIssue']
                as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );