sendCommand method

  1. @Deprecated('This is for backwards compatibility and only support Zebra devices, this will be removed later')
Future<bool> sendCommand({
  1. required String command,
  2. required String parameter,
})

Implementation

@Deprecated('This is for backwards compatibility and only support Zebra devices, this will be removed later')
Future<bool> sendCommand({required String command, required String parameter}) async =>
    isDeviceSupported ? await _methodChannel.invokeMethod<bool>('sendCommand', {'command': command, 'parameter': parameter}) ?? false : false;