GeneralName.fromJson constructor
GeneralName.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GeneralName.fromJson(Map<String, dynamic> json) {
return GeneralName(
directoryName: json['DirectoryName'] != null
? ASN1Subject.fromJson(json['DirectoryName'] as Map<String, dynamic>)
: null,
dnsName: json['DnsName'] as String?,
ediPartyName: json['EdiPartyName'] != null
? EdiPartyName.fromJson(json['EdiPartyName'] as Map<String, dynamic>)
: null,
ipAddress: json['IpAddress'] as String?,
otherName: json['OtherName'] != null
? OtherName.fromJson(json['OtherName'] as Map<String, dynamic>)
: null,
registeredId: json['RegisteredId'] as String?,
rfc822Name: json['Rfc822Name'] as String?,
uniformResourceIdentifier: json['UniformResourceIdentifier'] as String?,
);
}