toRxList method

RxList<T> toRxList([
  1. List<T> initial = const [],
  2. void onError(
    1. Object error,
    2. StackTrace stackTrace
    )?,
  3. void onDone()?,
  4. bool? cancelOnError,
])

Implementation

RxList<T> toRxList([
  List<T> initial = const [],
  void Function(Object error, StackTrace stackTrace)? onError,
  void Function()? onDone,
  bool? cancelOnError,
]) =>
    RxList<T>.fromStream(
      this,
      initial: initial,
      onError: onError,
      onDone: onDone,
      cancelOnError: cancelOnError,
    );