getAccountByLogin method
Gets an account by its login.
correlationId
(optional) transaction id to trace execution through call chain.login
a login of account to be retrieved. Return Future that receives account or error.
Implementation
@override
Future<AccountV1> getAccountByLogin(
String? correlationId, String login) async {
var timing = instrument(correlationId, 'accounts.get_account_by_login');
var account = await controller.getAccountByLogin(correlationId, login);
timing.endTiming();
return account;
}