clear static method
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();
}