reset static method

Future<void> reset()

Reset the GetIt instance, removing all registered objects.

This method is useful for testing purposes, as it allows you to reset the state of the GetIt instance.

It returns a Future that completes when all registered objects have been removed.

Implementation

static Future<void> reset() async {
  /// Reset the [GetIt] instance, removing all registered objects.
  return GetIt.instance.reset();
}