setDisposableCallback method

  1. @protected
void setDisposableCallback(
  1. void disposableCallback()
)

Implementation

@protected
void setDisposableCallback(void Function() disposableCallback) {
  _disposableCallback = disposableCallback;
}