CertificateDescription.fromJson constructor
CertificateDescription.fromJson(
- Map _json
Implementation
CertificateDescription.fromJson(core.Map _json)
: this(
aiaIssuingCertificateUrls:
_json.containsKey('aiaIssuingCertificateUrls')
? (_json['aiaIssuingCertificateUrls'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
authorityKeyId: _json.containsKey('authorityKeyId')
? KeyId.fromJson(_json['authorityKeyId']
as core.Map<core.String, core.dynamic>)
: null,
certFingerprint: _json.containsKey('certFingerprint')
? CertificateFingerprint.fromJson(_json['certFingerprint']
as core.Map<core.String, core.dynamic>)
: null,
configValues: _json.containsKey('configValues')
? ReusableConfigValues.fromJson(
_json['configValues'] as core.Map<core.String, core.dynamic>)
: null,
crlDistributionPoints: _json.containsKey('crlDistributionPoints')
? (_json['crlDistributionPoints'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
publicKey: _json.containsKey('publicKey')
? PublicKey.fromJson(
_json['publicKey'] as core.Map<core.String, core.dynamic>)
: null,
subjectDescription: _json.containsKey('subjectDescription')
? SubjectDescription.fromJson(_json['subjectDescription']
as core.Map<core.String, core.dynamic>)
: null,
subjectKeyId: _json.containsKey('subjectKeyId')
? KeyId.fromJson(
_json['subjectKeyId'] as core.Map<core.String, core.dynamic>)
: null,
);