paperOut method
Checks if the printer is out of paper.
Returns 0 if paper is present, or an error code if paper is out.
This function communicates with the NyxPrinter platform to determine
the printer's paper status. A null
result indicates an unexpected issue.
Implementation
Future<int?> paperOut() {
return NyxPrinterPlatform.instance.paperOut();
}