ClusterResourceRestoreScope.fromJson constructor
ClusterResourceRestoreScope.fromJson(
- Map json_
Implementation
ClusterResourceRestoreScope.fromJson(core.Map json_)
: this(
allGroupKinds: json_.containsKey('allGroupKinds')
? json_['allGroupKinds'] as core.bool
: null,
excludedGroupKinds: json_.containsKey('excludedGroupKinds')
? (json_['excludedGroupKinds'] as core.List)
.map((value) => GroupKind.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
noGroupKinds: json_.containsKey('noGroupKinds')
? json_['noGroupKinds'] as core.bool
: null,
selectedGroupKinds: json_.containsKey('selectedGroupKinds')
? (json_['selectedGroupKinds'] as core.List)
.map((value) => GroupKind.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);