reset static method

void reset()

Implementation

static void reset() {
  _instances.forEach((type, instance) {
    if (instance is Injectable) instance.onDispose();
  });
  _instances.clear();
  _factories.clear();
  _autoDispose.clear();
  _scopedInstances.clear();
  _taggedInstances.clear();
  _notify('reset', Object);
}