getSystemReport method

Future<String> getSystemReport()

Retrieves the system report of the printer like self-print contents. Available if port is other than Port.NET.

Implementation

Future<String> getSystemReport() async {
  var params = {
    "printerId": mPrinterId,
    "printInfo": mPrinterInfo.toMap(),
  };

  final String systemReport = await _channel.invokeMethod("getSystemReport", params);

  return systemReport;
}