balanceHistory method
Returns all stored balance snapshots for the given accountId.
Implementation
@override
Future<List<AccountBalance>> balanceHistory(String accountId) async {
final list = await _channel.invokeListMethod<Map<Object?, Object?>>(
'balanceHistory',
{'accountId': accountId},
);
return (list ?? []).map(AccountBalance.fromMap).toList();
}