bindStreamValue<T> function Null safety

Binder<T> bindStreamValue<T>(
  1. StateBuilder<T, Stream<T>> fn,
  2. {T? pendingValue,
  3. ErrorBuilder<T>? catchError,
  4. Equals<T>? equals,
  5. DisposeCallback<T>? dispose,
  6. String? name}
)

Implementation

Binder<T> bindStreamValue<T>(
  StateBuilder<T, Stream<T>> fn, {
  T? pendingValue,
  ErrorBuilder<T>? catchError,
  Equals<T>? equals,
  DisposeCallback<T>? dispose,
  String? name,
}) =>
    StreamBinder(
      fn,
      key: T,
      pendingValue: pendingValue,
      catchError: catchError,
      equals: equals,
      dispose: dispose,
      name: name,
    );