PscConnection.fromJson constructor

PscConnection.fromJson(
  1. Map json_
)

Implementation

PscConnection.fromJson(core.Map json_)
    : this(
        address: json_.containsKey('address')
            ? json_['address'] as core.String
            : null,
        forwardingRule: json_.containsKey('forwardingRule')
            ? json_['forwardingRule'] as core.String
            : null,
        network: json_.containsKey('network')
            ? json_['network'] as core.String
            : null,
        projectId: json_.containsKey('projectId')
            ? json_['projectId'] as core.String
            : null,
        pscConnectionId: json_.containsKey('pscConnectionId')
            ? json_['pscConnectionId'] as core.String
            : null,
      );