getVersion static method

Future<String?> getVersion()

Retrieves the firmware version of the Sunmi printer.

Returns a String representing the firmware version, or null if unavailable.

Implementation

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