interfaces library

A set of common interfaces for Dart classes.

Classes

Cancellable
Adds a lifecycle "step" to indicate when to release the object's resources or do something at the end of the lifecycle.
Disposable
Adds a lifecycle "step" to indicate when to release the object's resources or do something at the end of the lifecycle.
EffectStreamable<T>
Simple abstract class that adds a stream of type T named effectStream.
ModelStreamable<T>
Simple abstract class that adds a stream of type T named modelStream.
StateStreamable<T>
Simple abstract class that adds a stream of type T named stateStream.
ValueStreamable<T>
Simple abstract class that adds a stream of type T named valueStream.

Mixins

CancellableMixin
Adds a lifecycle "step" to indicate when to release the object's resources or do something at the end of the lifecycle.
DisposableMixin
Adds a lifecycle "step" to indicate when to release the object's resources or do something at the end of the lifecycle.