TLoadOptions<T> class
Options for loading data in the list.
Constructors
- TLoadOptions({required int page, required int itemsPerPage, String? search})
-
Creates load options.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- itemsPerPage → int
-
Number of items per page.
final
- limit → int
-
Limit for pagination.
no setter
- offset → int
-
Calculated offset for pagination.
no setter
- page → int
-
The page number to load (1-based).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- search → String?
-
Search query string.
final
Methods
-
copyWith(
{int? page, int? itemsPerPage, String? search}) → TLoadOptions< T> - Creates a copy with updated properties.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override