accountUpdates method
A stream that emits the full updated account list whenever accounts are added, modified, or removed.
Implementation
@override
Stream<List<FinancialAccount>> accountUpdates() {
return _accountEvents
.receiveBroadcastStream()
.map((event) => (event as List).cast<Map<Object?, Object?>>().map(FinancialAccount.fromMap).toList());
}