deactivate method

Called when this ViewModel and BaseView are removed from the tree.

Implementations of this method should end with a call to the inherited method, as in super.deactivate().

Implementation

@protected
@mustCallSuper
@visibleForTesting
void deactivate() {
  log('ViewModel<$runtimeType> deactivate');
}