printer method

Future<bool> printer(
  1. String filePath
)

Implementation

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