getAllSubAccounts method

Future<MarketplaceAccountsResponse> getAllSubAccounts({
  1. String customApiToken = '',
})
Listas todas as subcontas dentro de um marketplace Listas todas(1000) as subcontas dentro de um marketplace api token customizado

Implementation

/// <summary>
/// Listas todas(1000) as subcontas dentro de um marketplace
/// </summary>
/// <param name="customApiToken">api token customizado</param>
/// <returns></returns>

Future<MarketplaceAccountsResponse> getAllSubAccounts({String customApiToken = ''}) async {
  var result = await apiResource.getById(apiUserToken: customApiToken);
  return MarketplaceAccountsResponse.fromMap(result);
}