Certificate.fromJson constructor
Certificate.fromJson(
- Map json_
Implementation
Certificate.fromJson(core.Map json_)
: this(
expireTime: json_.containsKey('expireTime')
? json_['expireTime'] as core.String
: null,
issuingCertificate: json_.containsKey('issuingCertificate')
? Certificate.fromJson(json_['issuingCertificate']
as core.Map<core.String, core.dynamic>)
: null,
subject: json_.containsKey('subject')
? json_['subject'] as core.String
: null,
subjectAlternativeName: json_.containsKey('subjectAlternativeName')
? (json_['subjectAlternativeName'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
thumbprint: json_.containsKey('thumbprint')
? json_['thumbprint'] as core.String
: null,
);