resetRegistrations method

void resetRegistrations()

Removes all registrations from the dependency injection container.

Implementation

void resetRegistrations() {
  _dependencyRegistrations = List<_DependencyRegistration>();
}