createDashboard method

Future<Dashboard> createDashboard({
  1. required DashboardDetails body,
})

Creates a dashboard.

Permissions required: None.

Implementation

Future<Dashboard> createDashboard({required DashboardDetails body}) async {
  return Dashboard.fromJson(await _client.send(
    'post',
    'rest/api/3/dashboard',
    body: body.toJson(),
  ));
}