DemoteMasterMySqlReplicaConfiguration.fromJson constructor
DemoteMasterMySqlReplicaConfiguration.fromJson(
- Map _json
Implementation
DemoteMasterMySqlReplicaConfiguration.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,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
password: _json.containsKey('password')
? _json['password'] as core.String
: null,
username: _json.containsKey('username')
? _json['username'] as core.String
: null,
);