VpnGatewaysScopedList.fromJson constructor

VpnGatewaysScopedList.fromJson(
  1. Map json_
)

Implementation

VpnGatewaysScopedList.fromJson(core.Map json_)
    : this(
        vpnGateways: json_.containsKey('vpnGateways')
            ? (json_['vpnGateways'] as core.List)
                .map((value) => VpnGateway.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? VpnGatewaysScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );