TlsConfig.fromJson constructor

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

Implementation

factory TlsConfig.fromJson(Map<String, dynamic> json) {
  return TlsConfig(
    serverNameToVerify: json['serverNameToVerify'] as String?,
  );
}