StreamBinder<T> constructor Null safety

const StreamBinder<T>(
  1. StateBuilder<T, Stream<T>> fn,
  2. {required Object key,
  3. T? pendingValue,
  4. ErrorBuilder<T>? catchError,
  5. Equals<T>? equals,
  6. DisposeCallback<T>? dispose,
  7. String? name}
)

Implementation

const StreamBinder(
  this.fn, {
  required this.key,
  this.pendingValue,
  this.catchError,
  this.equals,
  this.dispose,
  this.name,
});