BluetoothPrinterConnector constructor

BluetoothPrinterConnector({
  1. required String address,
  2. required bool isBle,
  3. String? name,
})

Implementation

BluetoothPrinterConnector(
    {required this.address, required this.isBle, this.name}) {
  flutterPrinterChannel.setMethodCallHandler((MethodCall call) {
    _methodStreamController.add(call);
    return Future(() => null);
  });
}