getVersion method

Future<int?> getVersion()

Retrieves the version of the connected printer.

Returns an int representing the printer's version, or null if the operation fails.

Implementation

Future<int?> getVersion() {
  return instance.getVersion();
}