ProxyConnectionInfo.fromJson constructor

ProxyConnectionInfo.fromJson(
  1. Map json_
)

Implementation

ProxyConnectionInfo.fromJson(core.Map json_)
    : this(
        networkUri: json_.containsKey('networkUri')
            ? json_['networkUri'] as core.String
            : null,
        newDestinationIp: json_.containsKey('newDestinationIp')
            ? json_['newDestinationIp'] as core.String
            : null,
        newDestinationPort: json_.containsKey('newDestinationPort')
            ? json_['newDestinationPort'] as core.int
            : null,
        newSourceIp: json_.containsKey('newSourceIp')
            ? json_['newSourceIp'] as core.String
            : null,
        newSourcePort: json_.containsKey('newSourcePort')
            ? json_['newSourcePort'] as core.int
            : null,
        oldDestinationIp: json_.containsKey('oldDestinationIp')
            ? json_['oldDestinationIp'] as core.String
            : null,
        oldDestinationPort: json_.containsKey('oldDestinationPort')
            ? json_['oldDestinationPort'] as core.int
            : null,
        oldSourceIp: json_.containsKey('oldSourceIp')
            ? json_['oldSourceIp'] as core.String
            : null,
        oldSourcePort: json_.containsKey('oldSourcePort')
            ? json_['oldSourcePort'] as core.int
            : null,
        protocol: json_.containsKey('protocol')
            ? json_['protocol'] as core.String
            : null,
        subnetUri: json_.containsKey('subnetUri')
            ? json_['subnetUri'] as core.String
            : null,
      );