OracleConnectionProfile.fromJson constructor

OracleConnectionProfile.fromJson(
  1. Map json_
)

Implementation

OracleConnectionProfile.fromJson(core.Map json_)
    : this(
        databaseService: json_.containsKey('databaseService')
            ? json_['databaseService'] as core.String
            : null,
        forwardSshConnectivity: json_.containsKey('forwardSshConnectivity')
            ? ForwardSshTunnelConnectivity.fromJson(
                json_['forwardSshConnectivity']
                    as core.Map<core.String, core.dynamic>)
            : null,
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        password: json_.containsKey('password')
            ? json_['password'] as core.String
            : null,
        passwordSet: json_.containsKey('passwordSet')
            ? json_['passwordSet'] as core.bool
            : null,
        port: json_.containsKey('port') ? json_['port'] as core.int : null,
        privateConnectivity: json_.containsKey('privateConnectivity')
            ? PrivateConnectivity.fromJson(json_['privateConnectivity']
                as core.Map<core.String, core.dynamic>)
            : null,
        ssl: json_.containsKey('ssl')
            ? SslConfig.fromJson(
                json_['ssl'] as core.Map<core.String, core.dynamic>)
            : null,
        staticServiceIpConnectivity:
            json_.containsKey('staticServiceIpConnectivity')
                ? StaticServiceIpConnectivity.fromJson(
                    json_['staticServiceIpConnectivity']
                        as core.Map<core.String, core.dynamic>)
                : null,
        username: json_.containsKey('username')
            ? json_['username'] as core.String
            : null,
      );