deleteAll static method

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

Delete all dependencies from root scope

This clears all dependencies from the root scope but keeps the scope itself. For a complete reset (including scope disposal), use reset().

Implementation

static void deleteAll({bool force = false}) {
  rootScope.clearAll(force: force);
}