cancelCommand method
Cancels a running command and releases its resources.
Implementation
@override
Future<void> cancelCommand(String commandId) =>
methodChannel.invokeMethod<void>('cancelCommand', <String, Object?>{
'commandId': commandId,
});