printFromBase64 method

Future<bool> printFromBase64(
  1. String base64
)

Function to print from base64 image

Implementation

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