@override Future<bool> connect(Printer device) async { return await methodChannel.invokeMethod('connect', { "vendorId": device.vendorId.toString(), "productId": device.productId.toString(), }); }