VpnTunnelsScopedList.fromJson constructor

VpnTunnelsScopedList.fromJson(
  1. Map json_
)

Implementation

VpnTunnelsScopedList.fromJson(core.Map json_)
    : this(
        vpnTunnels: json_.containsKey('vpnTunnels')
            ? (json_['vpnTunnels'] as core.List)
                .map((value) => VpnTunnel.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        warning: json_.containsKey('warning')
            ? VpnTunnelsScopedListWarning.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );