SubjectAltNames.fromJson constructor
SubjectAltNames.fromJson(
- Map json_
Implementation
SubjectAltNames.fromJson(core.Map json_)
: this(
customSans: json_.containsKey('customSans')
? (json_['customSans'] as core.List)
.map((value) => X509Extension.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
dnsNames: json_.containsKey('dnsNames')
? (json_['dnsNames'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
emailAddresses: json_.containsKey('emailAddresses')
? (json_['emailAddresses'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
ipAddresses: json_.containsKey('ipAddresses')
? (json_['ipAddresses'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
uris: json_.containsKey('uris')
? (json_['uris'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);