TlsValidationContext.fromJson constructor

TlsValidationContext.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory TlsValidationContext.fromJson(Map<String, dynamic> json) {
  return TlsValidationContext(
    trust: TlsValidationContextTrust.fromJson(
        json['trust'] as Map<String, dynamic>),
  );
}