clear static method

  1. @visibleForTesting
Future<void> clear()

Clears the app.

It is useful for testing.

Implementation

@visibleForTesting
static Future<void> clear() async {
  _instance = null;
  _isTesting = false;
  ServiceLocator.instance.allowReassignment = false;
  _bootTesting = null;
  await ServiceLocator.instance.reset();
}