ListOutput<T, ARG_TYPE> class

内部数据类型是List的输出业务单元

Inheritance
  • Object
  • BaseIO<List<T>>
  • Output<List<T>, ARG_TYPE>
  • ListOutput
Mixed in types

Constructors

ListOutput({List<T> seedValue, String semantics, bool sync: true, bool isBehavior: false, @required _Fetch<List<T>, ARG_TYPE> fetch})

Properties

future → Future<List<T>>
输出Future
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
latest ↔ List<T>
最新的值
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
stream ↔ Stream<List<T>>
输出Stream
read / write, inherited

Methods

addError(Object error, [StackTrace stackTrace]) → void
inherited
append(T element, {bool fromHead: false}) → T
追加, 并发射
inherited
appendAll(List<T> elements, {bool fromHead: false}) → List<T>
追加一个list, 并发射
inherited
clear() → void
清理保存的值, 恢复成初始状态
inherited
dispose() → void
关闭流
inherited
filterItem(bool test(T element)) → List<T>
按条件过滤, 并发射过滤后的数据
inherited
flatMap<S>(S mapper(T value)) → Stream<List<S>>
对list的item做变换之后重新组成list
inherited
listen(ValueChanged<List<T>> listener, {Function onError, VoidCallback onDone, bool cancelOnError}) → StreamSubscription<List<T>>
inherited
map<S>(S convert(List<T> event)) → Stream<S>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
remove(T element) → T
删除一个的元素, 并发射
inherited
removeAt(int index) → T
删除指定索引的元素, 并发射
inherited
removeFirst() → T
删除第一个的元素, 并发射
inherited
removeLast() → T
删除最后一个的元素, 并发射
inherited
replace(int index, T element) → T
替换指定index的元素, 并发射
inherited
replaceFirst(T element) → T
替换第一个的元素, 并发射
inherited
replaceLast(T element) → T
替换最后一个的元素, 并发射
inherited
runtimeSummary() → String
运行时概要
inherited
sample(Duration duration) → Stream<List<T>>
inherited
toString() → String
Returns a string representation of this object.
inherited
update([ARG_TYPE arg]) → Future<List<T>>
使用内部的trigger获取数据
inherited
where(bool test(List<T> event)) → Stream<List<T>>
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited