exportGroupDashboards method

Future<List<Dashboard>> exportGroupDashboards(
  1. String entityGroupId,
  2. int limit, {
  3. RequestConfig? requestConfig,
})

Implementation

Future<List<Dashboard>> exportGroupDashboards(String entityGroupId, int limit,
    {RequestConfig? requestConfig}) async {
  var response = await _tbClient.get<List<dynamic>>(
      '/api/entityGroup/$entityGroupId/dashboards/export',
      queryParameters: {'limit': limit},
      options: defaultHttpOptionsFromConfig(requestConfig));
  return response.data!.map((e) => Dashboard.fromJson(e)).toList();
}