printerfromFile method

Future<bool> printerfromFile(
  1. String path
)

Implementation

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