isDrawerOpen static method

Future<bool> isDrawerOpen()

Checks if the Sunmi printer drawer is open.

Returns true if the drawer is open, or false otherwise.

Implementation

static Future<bool> isDrawerOpen() async {
  return await SunmiPrinterPlusPlatform.instance.isDrawerOpen();
}