reserveSlot abstract method
Reserves the slot with slotId
on date
.
If studentId
is provided, the reservation will be made for the student with the given id.
Note: User associated with token
must be a supervisor of the slot.
Implementation
Future<Reservation> reserveSlot({required String token, required int slotId, required DateTime date, int? studentId});