AuthorizedCertificate.fromJson constructor

AuthorizedCertificate.fromJson(
  1. Map json_
)

Implementation

AuthorizedCertificate.fromJson(core.Map json_)
    : this(
        certificateRawData: json_.containsKey('certificateRawData')
            ? CertificateRawData.fromJson(json_['certificateRawData']
                as core.Map<core.String, core.dynamic>)
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        domainMappingsCount: json_.containsKey('domainMappingsCount')
            ? json_['domainMappingsCount'] as core.int
            : null,
        domainNames: json_.containsKey('domainNames')
            ? (json_['domainNames'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        managedCertificate: json_.containsKey('managedCertificate')
            ? ManagedCertificate.fromJson(json_['managedCertificate']
                as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        visibleDomainMappings: json_.containsKey('visibleDomainMappings')
            ? (json_['visibleDomainMappings'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );