SubjectDescription.fromJson constructor
SubjectDescription.fromJson(
- Map _json
Implementation
SubjectDescription.fromJson(core.Map _json)
: this(
commonName: _json.containsKey('commonName')
? _json['commonName'] as core.String
: null,
hexSerialNumber: _json.containsKey('hexSerialNumber')
? _json['hexSerialNumber'] as core.String
: null,
lifetime: _json.containsKey('lifetime')
? _json['lifetime'] as core.String
: null,
notAfterTime: _json.containsKey('notAfterTime')
? _json['notAfterTime'] as core.String
: null,
notBeforeTime: _json.containsKey('notBeforeTime')
? _json['notBeforeTime'] as core.String
: null,
subject: _json.containsKey('subject')
? Subject.fromJson(
_json['subject'] as core.Map<core.String, core.dynamic>)
: null,
subjectAltName: _json.containsKey('subjectAltName')
? SubjectAltNames.fromJson(_json['subjectAltName']
as core.Map<core.String, core.dynamic>)
: null,
);