addCustomDisposable method

void addCustomDisposable(
  1. DisposeCallback disposeCallback
)

shortcut to add DisposeCallback

Implementation

void addCustomDisposable(DisposeCallback disposeCallback) {
  addDisposable(
    CustomDisposable(
      disposeCallback,
    ),
  );
}