VpnTunnelInfo.fromJson constructor

VpnTunnelInfo.fromJson(
  1. Map json_
)

Implementation

VpnTunnelInfo.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        networkUri: json_.containsKey('networkUri')
            ? json_['networkUri'] as core.String
            : null,
        region: json_.containsKey('region')
            ? json_['region'] as core.String
            : null,
        remoteGateway: json_.containsKey('remoteGateway')
            ? json_['remoteGateway'] as core.String
            : null,
        remoteGatewayIp: json_.containsKey('remoteGatewayIp')
            ? json_['remoteGatewayIp'] as core.String
            : null,
        routingType: json_.containsKey('routingType')
            ? json_['routingType'] as core.String
            : null,
        sourceGateway: json_.containsKey('sourceGateway')
            ? json_['sourceGateway'] as core.String
            : null,
        sourceGatewayIp: json_.containsKey('sourceGatewayIp')
            ? json_['sourceGatewayIp'] as core.String
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );