addEvent(_:) Adds an event to the task-event data structure. Declarationmutating func addEvent(_ event: OCKAnyEvent)