TaskGroupStatus.fromJson constructor
TaskGroupStatus.fromJson(
- Map json_
Implementation
TaskGroupStatus.fromJson(core.Map json_)
: this(
counts: json_.containsKey('counts')
? (json_['counts'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
instances: json_.containsKey('instances')
? (json_['instances'] as core.List)
.map((value) => InstanceStatus.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);