MysqlProfile.fromJson constructor
MysqlProfile.fromJson(
- Map json_
Implementation
MysqlProfile.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,
sslConfig: json_.containsKey('sslConfig')
? MysqlSslConfig.fromJson(
json_['sslConfig'] as core.Map<core.String, core.dynamic>)
: null,
username: json_.containsKey('username')
? json_['username'] as core.String
: null,
);