clear method Null safety
- [Function? callBack]
stop the queue and clear the history
callBack is where use can call cancelToken or side effect
Implementation
@override
void clear([Function? callBack]) {
stop();
_map.clear();
}
stop the queue and clear the history
callBack is where use can call cancelToken or side effect
@override
void clear([Function? callBack]) {
stop();
_map.clear();
}