printerFilePath method

Future<bool> printerFilePath(
  1. String filePath
)

Implementation

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