deleteScreen method
Deletes a screen. A screen cannot be deleted if it is used in a screen scheme, workflow, or workflow draft.
Only screens used in classic projects can be deleted.
Implementation
Future<void> deleteScreen(int screenId) async {
await _client.send(
'delete',
'rest/api/3/screens/{screenId}',
pathParameters: {
'screenId': '$screenId',
},
);
}