getStatus static method

Future<String?> getStatus()

Retrieves the current status of the Sunmi printer.

Returns a String message indicating the printer's status, or null if unavailable.

Implementation

static Future<String?> getStatus() async {
  return await SunmiPrinterPlusPlatform.instance.getStatus();
}