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,
ipAddresses: _json.containsKey('ipAddresses')
? (_json['ipAddresses'] as core.List)
.map<IpMapping>((value) => IpMapping.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
serverCaCert: _json.containsKey('serverCaCert')
? SslCert.fromJson(
_json['serverCaCert'] as core.Map<core.String, core.dynamic>)
: null,
);