openDrawer static method

Future<String?> openDrawer()

Opens the drawer connected to the Sunmi printer.

Returns a String message from the printer if successful, or null otherwise.

Implementation

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