dispose static method

void dispose()

Best to clean up by calling this function in the State object's dispose() function.

Implementation

static void dispose() {
  _initCalled = false;
  _prefsInstance = null;
}