FilteredTransactionResult<T> class

Result wrapper for filtered queries with metadata

Constructors

FilteredTransactionResult({required List<T> items, required bool hasNextPage, required bool hasPreviousPage, String? startCursor, String? endCursor, int? totalCount, required TransactionFilters appliedFilters})
const

Properties

appliedFilters → TransactionFilters
final
endCursor → String?
final
hashCode → int
The hash code for this object.
no setterinherited
hasNextPage → bool
final
hasPreviousPage → bool
final
items → List<T>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startCursor → String?
final
totalCount → int?
final

Methods

copyWith({List<T>? items, bool? hasNextPage, bool? hasPreviousPage, String? startCursor, String? endCursor, int? totalCount, TransactionFilters? appliedFilters}) → FilteredTransactionResult<T>
Copy with method
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

Static Methods

empty<T>(TransactionFilters filters) → FilteredTransactionResult<T>
Create empty result