computables library

Classes

Computable<T>
ComputableBuilder<T>
ComputableFactoryBuilder<T>
ComputableFactoryBuilderState<T>
ComputableFuture<T>
ComputableStream<T>
ComputableSubscriber<T>
Computation<T>
A Computation is used to derive data from the composition of multiple Computable inputs.
ComputationTransform<T>
A ComputationTransform transforms the input computables of a Computation into an output Computable and subscribes to it.
StreamFactory<T>

Mixins

ComputableMixin<T>
A class that provides an observable interface for the access and streaming of stored values.

Extensions

StartWith on Stream

Functions

createTransformer<S, T>({void onListen(StreamController<T> controller)?, void onData(StreamController<T> controller, S data)?}) StreamTransformer<S, T>
StreamTransformer implementation based on Dart docs: https://api.flutter.dev/flutter/dart-async/StreamTransformer/StreamTransformer.html. Used for transforming an existing input stream to manipulate the data it emits on initially listening to the stream and subsequent data events.
startWithStreamTransformer<T>(T event) StreamTransformer<T, T>

Typedefs

ComputableChangeRecord<T> = (T, T)
Optional<T> = T?