MySqlReplicaConfiguration.fromJson constructor
MySqlReplicaConfiguration.fromJson(
- Map _json
Implementation
MySqlReplicaConfiguration.fromJson(core.Map _json)
: this(
caCertificate: _json.containsKey('caCertificate')
? _json['caCertificate'] as core.String
: null,
clientCertificate: _json.containsKey('clientCertificate')
? _json['clientCertificate'] as core.String
: null,
clientKey: _json.containsKey('clientKey')
? _json['clientKey'] as core.String
: null,
connectRetryInterval: _json.containsKey('connectRetryInterval')
? _json['connectRetryInterval'] as core.int
: null,
dumpFilePath: _json.containsKey('dumpFilePath')
? _json['dumpFilePath'] as core.String
: null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
masterHeartbeatPeriod: _json.containsKey('masterHeartbeatPeriod')
? _json['masterHeartbeatPeriod'] as core.String
: null,
password: _json.containsKey('password')
? _json['password'] as core.String
: null,
sslCipher: _json.containsKey('sslCipher')
? _json['sslCipher'] as core.String
: null,
username: _json.containsKey('username')
? _json['username'] as core.String
: null,
verifyServerCertificate: _json.containsKey('verifyServerCertificate')
? _json['verifyServerCertificate'] as core.bool
: null,
);