resetForTest static method

  1. @visibleForTesting
void resetForTest()

Resets the singleton for tests.

This method is not intended for production app flows.

Implementation

@visibleForTesting
static void resetForTest() {
  _instance?._dispose();
  _instance = null;
}