ConnectSettings.fromJson constructor
ConnectSettings.fromJson(
- Map json_
Implementation
ConnectSettings.fromJson(core.Map json_)
: this(
backendType: json_.containsKey('backendType')
? json_['backendType'] as core.String
: null,
databaseVersion: json_.containsKey('databaseVersion')
? json_['databaseVersion'] as core.String
: null,
dnsName: json_.containsKey('dnsName')
? json_['dnsName'] as core.String
: null,
ipAddresses: json_.containsKey('ipAddresses')
? (json_['ipAddresses'] as core.List)
.map((value) => IpMapping.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
pscEnabled: json_.containsKey('pscEnabled')
? json_['pscEnabled'] as core.bool
: null,
region: json_.containsKey('region')
? json_['region'] as core.String
: null,
serverCaCert: json_.containsKey('serverCaCert')
? SslCert.fromJson(
json_['serverCaCert'] as core.Map<core.String, core.dynamic>)
: null,
);