ListMixin<T> mixin

内部数据是List特有的成员

Superclass Constraints
Implemented by

Constructors

ListMixin()

Properties

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

Methods

append(T element, {bool fromHead: false}) → T
追加, 并发射
appendAll(List<T> elements, {bool fromHead: false}) → List<T>
追加一个list, 并发射
filterItem(bool test(T element)) → List<T>
按条件过滤, 并发射过滤后的数据
flatMap<S>(S mapper(T value)) → Stream<List<S>>
对list的item做变换之后重新组成list
remove(T element) → T
删除一个的元素, 并发射
removeAt(int index) → T
删除指定索引的元素, 并发射
removeFirst() → T
删除第一个的元素, 并发射
removeLast() → T
删除最后一个的元素, 并发射
replace(int index, T element) → T
替换指定index的元素, 并发射
replaceFirst(T element) → T
替换第一个的元素, 并发射
replaceLast(T element) → T
替换最后一个的元素, 并发射
addError(Object error, [StackTrace stackTrace]) → void
inherited
clear() → void
清理保存的值, 恢复成初始状态
inherited
dispose() → void
关闭流
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
runtimeSummary() → String
运行时概要
inherited
sample(Duration duration) → Stream<List<T>>
inherited
toString() → String
Returns a string representation of this object.
inherited
where(bool test(List<T> event)) → Stream<List<T>>
inherited

Operators

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