QueryRequest class

A request to read data from a specific domain with optional filters, sorting, projection, and pagination.

Constructors

QueryRequest({required QueryDomain domain, String? entityType, List<QueryFilterCondition> filters = const <QueryFilterCondition>[], List<String>? projection, List<QuerySort> sort = const <QuerySort>[], QueryPage? page, Map<String, Object?>? platformData})
const

Properties

domain → QueryDomain
final
entityType → String?
final
filters → List<QueryFilterCondition>
final
hashCode → int
The hash code for this object.
no setteroverride
page → QueryPage?
final
platformData → Map<String, Object?>?
final
projection → List<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sort → List<QuerySort>
final

Methods

copyWith({QueryDomain? domain, Object? entityType = _unset, List<QueryFilterCondition>? filters, Object? projection = _unset, List<QuerySort>? sort, Object? page = _unset, Object? platformData = _unset}) → QueryRequest
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override