getRecordedEvent method

TaskEvent<T>? getRecordedEvent({
  1. required String taskId,
})

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)];