PaginationParams class

Pagination options.

Annotations

Constructors

PaginationParams({int limit, int offset, String greaterThan, String greaterThanOrEqual, String lessThan, String lessThanOrEqual})
Creates a new PaginationParams instance [...]

Properties

greaterThan String
Filter on ids greater than the given value.
@JsonKey(name: 'id_gt'), final
greaterThanOrEqual String
Filter on ids greater than or equal to the given value.
@JsonKey(name: 'id_gte'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
lessThan String
Filter on ids smaller than the given value.
@JsonKey(name: 'id_lt'), final
lessThanOrEqual String
Filter on ids smaller than or equal to the given value.
@JsonKey(name: 'id_lte'), final
limit int
The amount of items requested from the APIs.
final
offset int
The offset of requesting items.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

copyWith({int limit, int offset, String greaterThan, String greaterThanOrEqual, String lessThan, String lessThanOrEqual}) PaginationParams
Creates a copy of PaginationParams with specified attributes overridden.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
Serialize model to json
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited