getBluetoothVersion method

  1. @override
Future<String?> getBluetoothVersion()
override

getBluetoothVersion() returns a String representing the bluetooth version of the connected printer.

Implementation

@override
Future<String?> getBluetoothVersion() async {
  String? bluetoothVersion =
      await methodChannel.invokeMethod<String>('getBluetoothVersion');
  return bluetoothVersion;
}