PageMetaData class
A class representing a response containing the paging meta data.
Constructors
- PageMetaData({required int numberOfItems, required int numberOfPages, required int size, required int page})
-
Constructs a new PageMetaData.
const
- PageMetaData.fromJson(dynamic json)
-
Constructs a new PageMetaData instance from a JSON Map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- numberOfItems → int
-
The total number of entities available.
final
- numberOfPages → int
-
The total number of pages available.
final
- page → int
-
The current page index (starting at 1).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
The number of entities in each page.
final
Methods
-
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