ShipmentCollection class

Annotations

Constructors

ShipmentCollection(dynamic objectType, dynamic mode, dynamic hasMore, List<Shipment>? shipments)
ShipmentCollection.fromJson(Map<String, dynamic> input)
factory

Properties

filters ListShipments?
The ListParametersType-type parameter set used to initially retrieve this PaginatedCollection, stored for reference when retrieving the next page.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hasMore bool?
finalinherited
mode String?
finalinherited
objectType String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipments List<Shipment>?
final

Methods

buildGetNextPageParameters(List<Shipment>? currentPageItems, {int? pageSize}) ListShipments
Builds the ListParametersType-type parameter set to use to retrieve the next page of a PaginatedCollection. This method should be overridden by subclasses to provide the appropriate parameters for the next page request.
getNextPage(Future<PaginatedCollection<Shipment, ListShipments>> retrieveNextPageFunction(ListShipments? parameters), List<Shipment>? currentPageItems, {int? pageSize}) Future<PaginatedCollection<Shipment, ListShipments>>
Retrieves the next page of a PaginatedCollection, using the provided retrieveNextPageFunction to retrieve the next page.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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