currentBalance method
Returns the most recent AccountBalance for the given accountId,
or null if no balance is on record.
Implementation
@override
Future<AccountBalance?> currentBalance(String accountId) async {
final map = await _channel.invokeMapMethod<Object?, Object?>(
'currentBalance',
{'accountId': accountId},
);
return map == null ? null : AccountBalance.fromMap(map);
}