StreamUseCase<Type, Params> class abstract

A contract for stream-based use cases that return a Stream wrapping an Either containing either a Failure or a Type.

Useful for continuous or observable flows of data.

Constructors

StreamUseCase.new()

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

call(Params params) Stream<Either<Failure, Type>>
Executes the use case with the provided params and returns a stream.
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