printFromBase64 method
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;
}
}