CryptoFlow<Current> class final

An immutable typed pipeline representing one single-use execution.

Appending a step creates a fresh independently runnable flow and does not consume this instance. Each individual flow instance can be run once.

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
run({CryptoCancellationToken? cancellationToken}) → Future<Current>
Executes this flow exactly once and returns its final typed value.
then<Next>(CryptoStep<Current, Next> step) → CryptoFlow<Next>
Appends a package-defined step whose input matches the current flow type.
thenCustom<Next>(String name, FutureOr<Next> transform(Current input)) → CryptoFlow<Next>
Appends an explicit caller-controlled synchronous or asynchronous step.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromBase64(String value) → CryptoFlow<Uint8List>
Creates a lazy strict canonical padded standard Base64 source.
fromBytes(Uint8List value) → CryptoFlow<Uint8List>
Creates a lazy byte source after defensively copying value.
fromHex(String value) → CryptoFlow<Uint8List>
Creates a lazy strict hexadecimal source.
fromUtf8(String value) → CryptoFlow<Uint8List>
Creates a lazy strict UTF-8 source.