PollListQuery class

A query object to retrieve list of polls.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

PollListQuery({required PollListQueryParams params})

Properties

hashCode int
The hash code for this object.
no setterinherited
hasNext bool
True if query has next items to be queried
getter/setter pairinherited
limit int
number of item per executing loadNext
getter/setter pairinherited
loading bool
True if query is loading
getter/setter pairinherited
params PollListQueryParams
Parameters for Poll List Query Request
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
token for next query
getter/setter pairinherited

Methods

loadNext() Future<List<Poll>>
Load next items asynchronously
override
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