removeById method
Remove an event by its id.
Implementation
@override
void removeById(String id) {
final event = byId(id);
assert(event != null, 'The event with id $id cannot be removed as it does not exist in the map.');
if (event == null) return;
removeEvent(event);
}