getStatus method

Future<String?> getStatus()

Retrieves the current status of the printer.

Returns the printer status as a String or null if unsuccessful.

Implementation

Future<String?> getStatus() async {
  return await SunmiConfig.getStatus();
}