getAccounts method
Future<DataPage<AccountV1> >
getAccounts(
- String? correlationId,
- FilterParams filter,
- PagingParams paging
override
Gets a page of accounts retrieved by a given filter.
correlationId
(optional) transaction id to trace execution through call chain.filter
(optional) a filter function to filter itemspaging
(optional) paging parameters Return Future that receives a data page Throws error.
Implementation
@override
Future<DataPage<AccountV1>> getAccounts(
String? correlationId, FilterParams filter, PagingParams paging) async {
var timing = instrument(correlationId, 'accounts.get_accounts');
var page = await controller.getAccounts(correlationId, filter, paging);
timing.endTiming();
return page;
}