Output<T, ARG> constructor
Output<T, ARG> ({
- required T seedValue,
- required String semantics,
- bool sync = true,
- bool printLog = true,
- bool isBehavior = true,
- required FetchCallback<
T, ARG?> fetch, - T onReset()?,
- PersistConfig<
T> ? persistConfig, - bool skipError = false,
Implementation
Output({
required super.seedValue,
required super.semantics,
super.sync = true,
super.printLog = true,
super.isBehavior = true,
required FetchCallback<T, ARG?> fetch,
super.onReset,
super.persistConfig,
super.skipError,
}) {
stream = _subject.stream;
_fetch = fetch;
}