Connector.fromJson constructor
Connector.fromJson(
- Map json_
Implementation
Connector.fromJson(core.Map json_)
: this(
connectedProjects: json_.containsKey('connectedProjects')
? (json_['connectedProjects'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
ipCidrRange: json_.containsKey('ipCidrRange')
? json_['ipCidrRange'] as core.String
: null,
machineType: json_.containsKey('machineType')
? json_['machineType'] as core.String
: null,
maxInstances: json_.containsKey('maxInstances')
? json_['maxInstances'] as core.int
: null,
maxThroughput: json_.containsKey('maxThroughput')
? json_['maxThroughput'] as core.int
: null,
minInstances: json_.containsKey('minInstances')
? json_['minInstances'] as core.int
: null,
minThroughput: json_.containsKey('minThroughput')
? json_['minThroughput'] as core.int
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
network: json_.containsKey('network')
? json_['network'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
subnet: json_.containsKey('subnet')
? Subnet.fromJson(
json_['subnet'] as core.Map<core.String, core.dynamic>)
: null,
);