runOnceDestroy function

dynamic runOnceDestroy()

Calling runOnceDestroy makes runOnce able to run once again. Note that this call is "scoped" based on the lexical scope where runOnceDestroy was called. The normal "use case" is to call runOnceDestroy somewhere in the same class that called runOnce.

Implementation

runOnceDestroy() => RunOnce().destroy();