fetchTransactions method
Implementation
Future<bool> fetchTransactions({bool? replace}) async {
final result = await state.transactionPage.run(
() async => dataOrThrowFirstValidationError(
await repo.fetchTransactions(nextCursor: 0, query: query),
),
);
if (result.isSuccess) {
state.addTransactionsFromResponse(result.data!, replace: replace);
}
return result.isSuccess;
}