dispose abstract method

void dispose()

Disposes of the view model instance. This removes all listeners/callbacks and cleans up all underlying resources.

Do not call this method if you have active view model property listeners, as these will be removed when the view model instance is disposed.

Implementation

void dispose();