getId static method

Future<String?> getId()

Retrieves the unique identifier of the Sunmi printer.

Returns a String containing the printer ID, or null if unavailable.

Implementation

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