handleExecuteEvent method
void
handleExecuteEvent(
- 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.');
}
}