resetSingleton method

void resetSingleton()

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

Implementation

@pragma('vm:prefer-inline')
void resetSingleton() => currentInstance = const None();