emit method
Sends update to the listeners of updates.
Implementation
void emit(ModelDownloadUpdate update) {
if (update.state == ModelDownloadState.failed) kept.add(update.id);
_controller.add(update);
}
Sends update to the listeners of updates.
void emit(ModelDownloadUpdate update) {
if (update.state == ModelDownloadState.failed) kept.add(update.id);
_controller.add(update);
}