handleExecuteEvent method

void handleExecuteEvent(
  1. Map executeEvent
)

Implementation

void handleExecuteEvent(Map<dynamic, dynamic> executeEvent) {
  int? executionId = executeEvent['executionId'];
  int? returnCode = executeEvent['returnCode'];

  var executeCallback = _executeCallbackMap[executionId!];
  if (executeCallback != null) {
    executeCallback(
        FlutterSoundCompletedFFmpegExecution(executionId, returnCode));
  } else {
    logger.w(
        'Async execution with id $executionId completed but no callback is found for it.');
  }
}