getRecordedEvent method
All events coming from onEventCallback are recorded in the _eventTable
map and can be accessed
by this method using taskId
.
Implementation
TaskEvent<T>? getRecordedEvent({required String taskId}) =>
_eventTable[safelyExtractTaskIdFromString(taskId)];