BaseIO<T> class abstract

Implementers

Constructors

BaseIO({required T seedValue, required String semantics, bool sync = true, bool printLog = true, bool isBehavior = true, T onReset()?, PersistConfig<T>? persistConfig, bool skipError = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
isDisposed bool
no setter
latest ↔ T
最新的值
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addError(Object error, [StackTrace? stackTrace]) → void
dispose() → void
关闭流
distinct([bool test(T previous, T next)?]) Stream<T>
invalidate([T? newData]) → void
重新发送数据 用户修改数据后刷新的场景
map<S>(S convert(T event)) Stream<S>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
清理保存的值, 恢复成初始状态
runtimeSummary() String
运行时概要
sample(Duration duration) Stream<T>
toString() String
A string representation of this object.
override
where(bool test(T event)) Stream<T>
whereType<R>() Stream<R>

Operators

operator ==(Object other) bool
The equality operator.
inherited