resetSingleton method

void resetSingleton()

Resets the singleton instance, by setting currentInstance back to null allowing it to be re-created via singleton.

Implementation

void resetSingleton() => currentInstance = null;