OracleProfile.fromJson constructor
OracleProfile.fromJson(
- Map json_
Implementation
OracleProfile.fromJson(core.Map json_)
: this(
connectionAttributes: json_.containsKey('connectionAttributes')
? (json_['connectionAttributes']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
databaseService: json_.containsKey('databaseService')
? json_['databaseService'] as core.String
: null,
hostname: json_.containsKey('hostname')
? json_['hostname'] as core.String
: null,
oracleSslConfig: json_.containsKey('oracleSslConfig')
? OracleSslConfig.fromJson(json_['oracleSslConfig']
as core.Map<core.String, core.dynamic>)
: null,
password: json_.containsKey('password')
? json_['password'] as core.String
: null,
port: json_.containsKey('port') ? json_['port'] as core.int : null,
username: json_.containsKey('username')
? json_['username'] as core.String
: null,
);