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}) {
final keys = _singl.keys.toList();
for (final key in keys) {
delete(key: key, force: force);
}
}