handleExecuteEvent method

void handleExecuteEvent(
  1. 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.");
  }
}