@override Future<void> writeCommand(Uint8List data) { return methodChannel.invokeMethod<void>('writeCommand', data); }