Output<T, ARG> constructor

Output<T, ARG>({
  1. required T seedValue,
  2. required String semantics,
  3. bool sync = true,
  4. bool printLog = true,
  5. bool isBehavior = true,
  6. required FetchCallback<T, ARG?> fetch,
  7. T onReset()?,
  8. PersistConfig<T>? persistConfig,
  9. 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;
}