ForwardSshTunnelConnectivity.fromJson constructor

ForwardSshTunnelConnectivity.fromJson(
  1. Map _json
)

Implementation

ForwardSshTunnelConnectivity.fromJson(core.Map _json)
    : this(
        hostname: _json.containsKey('hostname')
            ? _json['hostname'] as core.String
            : null,
        password: _json.containsKey('password')
            ? _json['password'] as core.String
            : null,
        port: _json.containsKey('port') ? _json['port'] as core.int : null,
        privateKey: _json.containsKey('privateKey')
            ? _json['privateKey'] as core.String
            : null,
        username: _json.containsKey('username')
            ? _json['username'] as core.String
            : null,
      );