printerFile method

Future<bool> printerFile(
  1. String fileName
)

Implementation

Future<bool> printerFile(String fileName) async {
  try {
    await channel.invokeMethod(
      PaymentTypeCall.PRINTER.method,
      {
        "path": fileName,
      },
    );
    return true;
  } catch (e) {
    return false;
  }
}