TlsValidationContextTrust.fromJson constructor
Implementation
factory TlsValidationContextTrust.fromJson(Map<String, dynamic> json) {
return TlsValidationContextTrust(
acm: json['acm'] != null
? TlsValidationContextAcmTrust.fromJson(
json['acm'] as Map<String, dynamic>)
: null,
file: json['file'] != null
? TlsValidationContextFileTrust.fromJson(
json['file'] as Map<String, dynamic>)
: null,
);
}