getAllAvailableDashboardGadgets method

Future<AvailableDashboardGadgetsResponse> getAllAvailableDashboardGadgets()

Gets a list of all available gadgets that can be added to all dashboards.

Permissions required: None.

Implementation

Future<AvailableDashboardGadgetsResponse>
    getAllAvailableDashboardGadgets() async {
  return AvailableDashboardGadgetsResponse.fromJson(await _client.send(
    'get',
    'rest/api/3/dashboard/gadgets',
  ));
}