OptionQuery class

Represents additional options for a query to the S3I-Directory/Repository.

There are two different option types: Sort operations (SortConfig) and Paging operation (pageSize, cursor).

See the Ditto-API for more information.

Constructors

OptionQuery({List<SortConfig> sortOptions = const <SortConfig>[], int? pageSize, String? cursor})
Creates a OptionQuery with the given sortOptions, a pageSize and a cursor (all optional).

Properties

cursor String?
The cursor from which the search starts (used for pagination search).
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pageSize int?
The maximum count of entries returned by one request.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortOptions List<SortConfig>
All SortConfigs in this query.
getter/setter pair

Methods

generateString() String
Returns the stored information in this QueryParam ready to use in a request.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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