cleanUp method Null safety
Implementation
void cleanUp() {
_queue.forEach((q) {
cancel(q.hashCode);
});
_queue.removeWhere((element) => true);
_currentOp = null;
}
void cleanUp() {
_queue.forEach((q) {
cancel(q.hashCode);
});
_queue.removeWhere((element) => true);
_currentOp = null;
}