deleteAll method
Delete all registered Class Instances and, closes any open
controllers DisposableInterface
, cleans up the memory
force
Will delete the Instances even if marked aspermanent
.
Implementation
void deleteAll({bool force = false}) {
_singl.forEach((key, value) {
delete(key: key, force: force);
});
}