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