EventCollection class
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
EventCollection(dynamic objectType, dynamic mode, dynamic hasMore, List<
Event> ? events) -
EventCollection.fromJson(Map<
String, dynamic> input) -
factory
Properties
-
events
→ List<
Event> ? -
final
- filters ↔ ListEvents?
-
The
ListParametersType
-type parameter set used to initially retrieve thisPaginatedCollection
, 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
Methods
-
buildGetNextPageParameters(
List< Event> ? currentPageItems, {int? pageSize}) → ListEvents -
Builds the
ListParametersType
-type parameter set to use to retrieve the next page of aPaginatedCollection
. This method should be overridden by subclasses to provide the appropriate parameters for the next page request. -
getNextPage(
Future< PaginatedCollection< retrieveNextPageFunction(ListEvents? parameters), List<Event, ListEvents> >Event> ? currentPageItems, {int? pageSize}) → Future<PaginatedCollection< Event, ListEvents> > -
Retrieves the next page of a
PaginatedCollection
, using the providedretrieveNextPageFunction
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