BookmarkListState class

An observable state object that manages the current state of a bookmark list.

Maintains the current list of bookmarks and pagination information for efficient loading and navigation through bookmark collections.

Annotations
  • @freezed

Constructors

BookmarkListState({List<BookmarkData> bookmarks = const [], PaginationData? pagination})
const

Properties

bookmarks List<BookmarkData>
All the paginated bookmarks currently loaded.
final
canLoadMore bool
Indicates whether there are more bookmarks available to load.
no setter
copyWith → $BookmarkListStateCopyWith<BookmarkListState>
Create a copy of BookmarkListState with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
pagination → PaginationData?
Last pagination information from the most recent request.
final
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
toString() String
A string representation of this object.
inherited

Operators

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