PrivateConnection.fromJson constructor
PrivateConnection.fromJson(
- Map _json
Implementation
PrivateConnection.fromJson(core.Map _json)
: this(
createTime: _json.containsKey('createTime')
? _json['createTime'] as core.String
: null,
displayName: _json.containsKey('displayName')
? _json['displayName'] as core.String
: null,
error: _json.containsKey('error')
? Error.fromJson(
_json['error'] as core.Map<core.String, core.dynamic>)
: null,
labels: _json.containsKey('labels')
? (_json['labels'] as core.Map<core.String, core.dynamic>).map(
(key, item) => core.MapEntry(
key,
item as core.String,
),
)
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
state:
_json.containsKey('state') ? _json['state'] as core.String : null,
updateTime: _json.containsKey('updateTime')
? _json['updateTime'] as core.String
: null,
vpcPeeringConfig: _json.containsKey('vpcPeeringConfig')
? VpcPeeringConfig.fromJson(_json['vpcPeeringConfig']
as core.Map<core.String, core.dynamic>)
: null,
);