balanceHistory method

  1. @override
Future<List<AccountBalance>> balanceHistory(
  1. String accountId
)
override

Returns all stored balance snapshots for the given accountId.

Implementation

@override
Future<List<AccountBalance>> balanceHistory(String accountId) async =>
    _balances.where((b) => b.accountId == accountId).toList();