Pagination class

Inheritance

Constructors

Pagination({List<Pointer?>? items = const [], int? offset, int? total, int? size, PaginationPage? first, PaginationPage? current, PaginationPage? previous, PaginationPage? next, PaginationPage? last, List<PaginationPage?>? pages = const [], bool? enabled, Map<String, Link?> links = const {}, ComponentMeta? meta, required ElementTypeEnum? type})
Returns a new Pagination instance.

Properties

current PaginationPage?
getter/setter pair
enabled bool?
getter/setter pair
first PaginationPage?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
items List<Pointer?>?
getter/setter pair
last PaginationPage?
getter/setter pair
getter/setter pairinherited
meta ComponentMeta?
getter/setter pairinherited
next PaginationPage?
getter/setter pair
offset int?
getter/setter pair
pages List<PaginationPage?>?
getter/setter pair
previous PaginationPage?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
getter/setter pair
total int?
getter/setter pair
type ElementTypeEnum?
getter/setter pairinherited

Methods

getItems(dynamic page) List<Document>
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.
inherited

Static Methods

fromJson(dynamic value) Pagination
Returns a new Pagination instance and imports its values from value if it's a Map, null otherwise.
override