deleteAccountById method
Deleted an account by it's unique id.
correlation_id
(optional) transaction id to trace execution through call chain.id
an id of the account to be deleted Return Future that receives deleted account Throws error.
Implementation
@override
Future<AccountV1> deleteAccountById(String? correlationId, String id) async {
var timing = instrument(correlationId, 'accounts.delete_account_by_id');
var account = await controller.deleteAccountById(correlationId, id);
timing.endTiming();
return account;
}