ReportCollection class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

ReportCollection(dynamic objectType, dynamic mode, dynamic hasMore, List<Report>? reports, String? type)
ReportCollection.fromJson(Map<String, dynamic> input)
factory

Properties

filters ↔ ListReports?
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
reports List<Report>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
final

Methods

buildGetNextPageParameters(List<Report>? currentPageItems, {int? pageSize}) → ListReports
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<Report, ListReports>> retrieveNextPageFunction(ListReports? parameters), List<Report>? currentPageItems, {int? pageSize}) Future<PaginatedCollection<Report, ListReports>>
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