VirtualGatewayListenerTls.fromJson constructor

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

Implementation

factory VirtualGatewayListenerTls.fromJson(Map<String, dynamic> json) {
  return VirtualGatewayListenerTls(
    certificate: VirtualGatewayListenerTlsCertificate.fromJson(
        json['certificate'] as Map<String, dynamic>),
    mode: (json['mode'] as String).toVirtualGatewayListenerTlsMode(),
  );
}