UseCaseStatus<T> class
- Annotations
-
- @freezed
Constructors
- UseCaseStatus.new(Type type, {@Default(UseCaseState.none) UseCaseState state, T? data, Object? error, StackTrace? stackTrace})
-
constfactory
Properties
-
copyWith
→ $UseCaseStatusCopyWith<
T, UseCaseStatus< T> > -
no setterinherited
- data → T?
-
no setterinherited
- error → Object?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
no setterinherited
- state → UseCaseState
-
no setterinherited
- type → Type
-
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