disposeIfNotUsed abstract method

void disposeIfNotUsed()

Dispose the state if it has no listener

Implementation

void disposeIfNotUsed();