OnStreamPushEventType typedef
OnStreamPushEventType =
void Function(StreamSinglePushEvent eventType, String taskId, int error)
eventType
: Task status
taskId
: Task ID
error
: Error code
Implementation
typedef OnStreamPushEventType = void Function(
StreamSinglePushEvent eventType, String taskId, int error);