copyWith method

RunnableOptions copyWith({
  1. int? concurrencyLimit,
})

Creates a copy of this RunnableOptions with the given fields replaced by the new values.

Implementation

RunnableOptions copyWith({
  int? concurrencyLimit,
}) {
  return RunnableOptions(
    concurrencyLimit: concurrencyLimit ?? this.concurrencyLimit,
  );
}