reset static method

void reset()

Reset to new instance (useful for testing)

Implementation

static void reset() {
  _instance?.dispose();
  _instance = null;
}