cancel method
Cancel printing. Invalid while sending data.
Implementation
Future<bool> cancel() async {
var params = {
"printerId": mPrinterId,
"printInfo": mPrinterInfo.toMap(),
};
final bool result = await _channel.invokeMethod("cancel", params);
return result;
}