transactionUpdates method
A stream that emits an updated list of transactions whenever FinanceKit reports a change.
Implementation
@override
Stream<List<Transaction>> transactionUpdates(TransactionQuery query) {
return _transactionEvents
.receiveBroadcastStream(query.toMap())
.map((event) => (event as List).cast<Map<Object?, Object?>>().map(Transaction.fromMap).toList());
}