clearAllCaches static method
Removes all cached notifiers of all types
Implementation
static void clearAllCaches({bool dispose = false}) {
if (dispose) {
_cache.forEach((key, value) {
value.dispose();
});
}
_cache.clear();
}
Removes all cached notifiers of all types
static void clearAllCaches({bool dispose = false}) {
if (dispose) {
_cache.forEach((key, value) {
value.dispose();
});
}
_cache.clear();
}