IActionBlocState<Data, Failure> class
abstract
Constructors
- IActionBlocState.failure(Failure failure)
-
constfactory
- IActionBlocState.initial()
-
constfactory
- IActionBlocState.inProgress()
-
constfactory
- IActionBlocState.success(Data data)
-
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFailure → bool
-
no setter
- isInitial → bool
-
no setter
- isInProgress → bool
-
no setter
- isSuccess → bool
-
no setter
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited
Methods
-
maybeWhen<
T> ({Action< T> ? initial, Action<T> ? inProgress, Mapper<T, Data> ? success, T failure(Failure failure)?, required Action<T> orElse}) → T -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
T> ({required Action< T> initial, required Action<T> inProgress, required Mapper<T, Data> success, required T failure(Failure failure)}) → T -
whenOrNull<
T> ({Action< T> ? initial, Action<T> ? inProgress, Mapper<T, Data> ? success, T failure(Failure failure)?}) → T?
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited