ClientPolicy.fromJson constructor

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

Implementation

factory ClientPolicy.fromJson(Map<String, dynamic> json) {
  return ClientPolicy(
    tls: json['tls'] != null
        ? ClientPolicyTls.fromJson(json['tls'] as Map<String, dynamic>)
        : null,
  );
}