handleExecuteEvent method
void
handleExecuteEvent(
- Map executeEvent
)
Implementation
void handleExecuteEvent(Map<dynamic, dynamic> executeEvent) {
int executionId = executeEvent['executionId'];
int returnCode = executeEvent['returnCode'];
ExecuteCallback? executeCallback = _executeCallbackMap[executionId];
if (executeCallback != null) {
executeCallback(new CompletedFFmpegExecution(executionId, returnCode));
} else {
print(
"Async execution with id $executionId completed but no callback is found for it.");
}
}