CertificateRevocationList.fromJson constructor

CertificateRevocationList.fromJson(
  1. Map json_
)

Implementation

CertificateRevocationList.fromJson(core.Map json_)
    : this(
        accessUrl: json_.containsKey('accessUrl')
            ? json_['accessUrl'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pemCrl: json_.containsKey('pemCrl')
            ? json_['pemCrl'] as core.String
            : null,
        revisionId: json_.containsKey('revisionId')
            ? json_['revisionId'] as core.String
            : null,
        revokedCertificates: json_.containsKey('revokedCertificates')
            ? (json_['revokedCertificates'] as core.List)
                .map((value) => RevokedCertificate.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        sequenceNumber: json_.containsKey('sequenceNumber')
            ? json_['sequenceNumber'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );