deleteShift method
Deletes a shift from a hospital.
hospitalId
The ID of the hospital.
shiftId
The ID of the shift to delete.
Returns a Future<void>
.
Implementation
Future<void> deleteShift(int hospitalId, int shiftId) async {
await _makeRequest('/api/hospitals/$hospitalId/shifts/$shiftId/',
method: 'DELETE');
}