connect method
Implementation
Future<bool> connect(Printer device) async {
if (!isInitialized) {
throw Exception('WindowBluetoothManager is not initialized');
}
bool isConnected = false;
final subscription = WinBle.connectionStream.listen((device) {});
await WinBle.connect(device.address!);
await Future.delayed(const Duration(seconds: 3));
subscription.cancel();
return isConnected;
}