BoolOutput<ARG_TYPE> class

只接收bool类型数据的Output

Inheritance
Mixed in types

Constructors

BoolOutput({bool seedValue, String semantics, bool sync: true, bool isBehavior: false, bool acceptEmpty: true, bool isDistinct: false, _Equal test, _Fetch<bool, dynamic> fetch})

Properties

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

Methods

addError(Object error, [StackTrace stackTrace]) → void
inherited
clear() → void
清理保存的值, 恢复成初始状态
inherited
dispose() → void
关闭流
inherited
listen(ValueChanged<bool> listener, {Function onError, VoidCallback onDone, bool cancelOnError}) → StreamSubscription<bool>
inherited
map<S>(S convert(bool 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<bool>
inherited
toggle() → bool
inherited
toString() → String
Returns a string representation of this object.
inherited
update([ARG_TYPE arg]) → Future<bool>
使用内部的trigger获取数据
inherited
where(bool test(bool event)) → Stream<bool>
inherited

Operators

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