auth method

Future<CuppsCommandResponse> auth({
  1. required String airlineID,
  2. String mode = "HDC",
  3. String font = "L",
})

Implementation

Future<CuppsCommandResponse> auth({required String airlineID, String mode  = "HDC",String font = "L",}) async {

  // AeaRequestRequest req = AeaRequestRequest(messageID: currentMessageID, texts: ["EP#AIRLINEID=$airlineID#HARDCODE=HDC#FONT=L"],binaries: []);
  final setLogoRes = await aeaRequest("EP#AIRLINEID=$airlineID#HARDCODE=HDC#FONT=$font#ERR3IGN=Y");
  // final setLogoRes = await aeaRequest("EP#AIRLINEID=$airlineID#HARDCODE=$mode#FONT=$font");
  return setLogoRes;
  // print(setLogoRes);
  // send(xml: req.toXML());
}