getAssetsByEntityGroupId method
Future<PageData<Asset> >
getAssetsByEntityGroupId(
- String entityGroupId,
- PageLink pageLink, {
- RequestConfig? requestConfig,
Implementation
Future<PageData<Asset>> getAssetsByEntityGroupId(
String entityGroupId, PageLink pageLink,
{RequestConfig? requestConfig}) async {
var response = await _tbClient.get<Map<String, dynamic>>(
'/api/entityGroup/$entityGroupId/assets',
queryParameters: pageLink.toQueryParameters(),
options: defaultHttpOptionsFromConfig(requestConfig));
return _tbClient.compute(parseAssetPageData, response.data!);
}