PreloadingAttemptSourcesUpdatedEvent.fromJson constructor
Implementation
factory PreloadingAttemptSourcesUpdatedEvent.fromJson(
Map<String, dynamic> json) {
return PreloadingAttemptSourcesUpdatedEvent(
loaderId: network.LoaderId.fromJson(json['loaderId'] as String),
preloadingAttemptSources: (json['preloadingAttemptSources'] as List)
.map((e) =>
PreloadingAttemptSource.fromJson(e as Map<String, dynamic>))
.toList(),
);
}