ManagementCluster.fromJson constructor
ManagementCluster.fromJson(
- Map json_
Implementation
ManagementCluster.fromJson(core.Map json_)
: this(
clusterId: json_.containsKey('clusterId')
? json_['clusterId'] as core.String
: null,
nodeTypeConfigs: json_.containsKey('nodeTypeConfigs')
? (json_['nodeTypeConfigs']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
NodeTypeConfig.fromJson(
value as core.Map<core.String, core.dynamic>),
),
)
: null,
stretchedClusterConfig: json_.containsKey('stretchedClusterConfig')
? StretchedClusterConfig.fromJson(json_['stretchedClusterConfig']
as core.Map<core.String, core.dynamic>)
: null,
);