customPrinter method
Function to send custom printer parameters
Implementation
Future<bool> customPrinter(StonePrinterParams stonePrinterParams) async {
try {
await channel.invokeMethod(PaymentTypeCall.customPrinter.method, {
"printerParams": stonePrinterParams.toJson(),
});
return true;
} catch (e) {
return false;
}
}