VirtualGatewayClientPolicyTls.fromJson constructor
Implementation
factory VirtualGatewayClientPolicyTls.fromJson(Map<String, dynamic> json) {
return VirtualGatewayClientPolicyTls(
validation: VirtualGatewayTlsValidationContext.fromJson(
json['validation'] as Map<String, dynamic>),
enforce: json['enforce'] as bool?,
ports: (json['ports'] as List?)
?.whereNotNull()
.map((e) => e as int)
.toList(),
);
}