updateSlot method
override
Pushes an updated slot
to the server.
Implementation
@override
Future<void> updateSlot({required String token, required Slot slot}) async {
log('Updating slot $slot');
final json = slot.toJson();
await api.callFunction(
function: 'local_lbplanner_slots_update_slot',
body: json,
token: token,
);
}