MySqlConnectionProfile.fromJson constructor
MySqlConnectionProfile.fromJson(
- Map json_
Implementation
MySqlConnectionProfile.fromJson(core.Map json_)
: this(
cloudSqlId: json_.containsKey('cloudSqlId')
? json_['cloudSqlId'] as core.String
: 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,
ssl: json_.containsKey('ssl')
? SslConfig.fromJson(
json_['ssl'] as core.Map<core.String, core.dynamic>)
: null,
username: json_.containsKey('username')
? json_['username'] as core.String
: null,
);