Transformers class
A collection of helpers for shaping how Intent streams are consumed and
mapped into other Intents.
These transformers control concurrency, ordering and debouncing semantics
for the Intent processing pipeline used by ViewModels.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- defaultTransformer → IntentTransformer
-
The default transformer.
no setter
Static Methods
-
concurrent(
) → IntentTransformer - Processes intents concurrently.
-
debouncedRestartable<
T> (Duration duration) → IntentTransformer - Debounces incoming intents and is restartable.
-
debouncedSequential(
Duration duration) → IntentTransformer - Debounces then processes intents sequentially.
-
droppable(
) → IntentTransformer - Drops intents that arrive while the previous one is still running.
-
sequential(
) → IntentTransformer - Processes intents sequentially.