cancelCommand method

  1. @override
Future<void> cancelCommand(
  1. String commandId
)
override

Cancels a running command and releases its resources.

Implementation

@override
Future<void> cancelCommand(String commandId) =>
    methodChannel.invokeMethod<void>('cancelCommand', <String, Object?>{
      'commandId': commandId,
    });