StragglerSummary.fromJson constructor
StragglerSummary.fromJson(
- Map json_
Implementation
StragglerSummary.fromJson(core.Map json_)
: this(
recentStragglers: json_.containsKey('recentStragglers')
? (json_['recentStragglers'] as core.List)
.map((value) => Straggler.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
stragglerCauseCount: json_.containsKey('stragglerCauseCount')
? (json_['stragglerCauseCount']
as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
totalStragglerCount: json_.containsKey('totalStragglerCount')
? json_['totalStragglerCount'] as core.String
: null,
);