connectBluetooth method

  1. @override
Future<void> connectBluetooth(
  1. String mac
)
override

Connects to a printer via Bluetooth using the printer's mac address.

Example: await connectBluetooth("00:11:22:33:44:55");

Implementation

@override
Future<void> connectBluetooth(String mac) async {
  await _channel.invokeMethod("connectBluetooth", {"mac": mac});
}