deleteAll method

void deleteAll({
  1. bool force = false,
})

Delete all registered Class Instances and, closes any open controllers DisposableInterface, cleans up the memory

  • force Will delete the Instances even if marked as permanent.

Implementation

void deleteAll({bool force = false}) {
  final keys = _singl.keys.toList();
  for (final key in keys) {
    delete(key: key, force: force);
  }
}