withProgress method

CascadeDeleteBuilder<T> withProgress(
  1. void callback(
    1. CascadeProgress
    )
)

Set progress callback.

Implementation

CascadeDeleteBuilder<T> withProgress(void Function(CascadeProgress) callback) {
  _options = _options.copyWith(onProgress: callback);
  return this;
}