paginatedFilter<A, Ob, T, Or> method
Future<PaginatedReactions<A, Ob, T, Or> >
paginatedFilter<A, Ob, T, Or>(
- LookupAttribute lookupAttr,
- String lookupValue, {
- Filter? filter,
- EnrichmentFlags? flags,
- int? limit,
- String? kind,
Paginated reactions and filter them
Note: passing both id_lteandid_gte is not supported.
Note: when using id_lte the reactions are ordered by the created_at field, in descending order.
Note: when using id_gte the reactions are ordered by the created_at field, in ascending order.
Implementation
Future<PaginatedReactions<A, Ob, T, Or>> paginatedFilter<A, Ob, T, Or>(
LookupAttribute lookupAttr,
String lookupValue, {
Filter? filter,
EnrichmentFlags? flags,
int? limit,
String? kind,
}) {
final token =
userToken ?? TokenHelper.buildReactionToken(secret!, TokenAction.read);
return _reactions.paginatedFilter<A, Ob, T, Or>(
token,
lookupAttr,
lookupValue,
filter ?? Default.filter,
flags,
limit ?? Default.limit,
kind ?? '',
);
}