dispose method

  1. @mustCallSuper
void dispose()

Cleanup this HookState.

Implementations can place required cleanup logic in this method. This will be called only once, when the HookContext is disposed.

Implementation

@mustCallSuper
void dispose() {}