@override Future<bool> connect(Printer device) async => await methodChannel.invokeMethod('connect', device.toJson());