GkeNodePoolTarget.fromJson constructor
GkeNodePoolTarget.fromJson(
- Map json_
Implementation
GkeNodePoolTarget.fromJson(core.Map json_)
: this(
nodePool: json_.containsKey('nodePool')
? json_['nodePool'] as core.String
: null,
nodePoolConfig: json_.containsKey('nodePoolConfig')
? GkeNodePoolConfig.fromJson(json_['nodePoolConfig']
as core.Map<core.String, core.dynamic>)
: null,
roles: json_.containsKey('roles')
? (json_['roles'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);