PreloadingAttemptSource.fromJson constructor
Implementation
factory PreloadingAttemptSource.fromJson(Map<String, dynamic> json) {
return PreloadingAttemptSource(
key: PreloadingAttemptKey.fromJson(json['key'] as Map<String, dynamic>),
ruleSetIds:
(json['ruleSetIds'] as List)
.map((e) => RuleSetId.fromJson(e as String))
.toList(),
nodeIds:
(json['nodeIds'] as List)
.map((e) => dom.BackendNodeId.fromJson(e as int))
.toList(),
);
}