PaginatedCleanState<T> class
sealed
Base state for paginated_clean_bloc
- Implementers
- Annotations
-
- @Freezed(map: FreezedMapOptions.none, genericArgumentFactories: true)
Constructors
- PaginatedCleanState.error({required BaseError error})
-
Base state for paginated_clean_bloc
PaginatedError state
constfactory
- PaginatedCleanState.initial()
-
Base state for paginated_clean_bloc
PaginatedInitial state
constfactory
- PaginatedCleanState.loading()
-
Base state for paginated_clean_bloc
PaginatedLoading state
constfactory
-
PaginatedCleanState.success({required List<
T> data, @Default(false) bool isLoadingMore}) -
Base state for paginated_clean_bloc
PaginatedSuccess state
constfactory
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
-
maybeWhen<
TResult extends Object?> ({TResult initial()?, TResult loading()?, TResult error(BaseError error)?, TResult success(List< T> data, bool isLoadingMore)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult initial(), required TResult loading(), required TResult error(BaseError error), required TResult success(List< T> data, bool isLoadingMore)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? initial()?, TResult? loading()?, TResult? error(BaseError error)?, TResult? success(List< T> data, bool isLoadingMore)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited