printText static method

dynamic printText(
  1. String text
)

Implementation

static printText(String text) {
  try {
    sunmi.SunmiPrinter.printText(text);
  } catch (e) {
    throw Exception('Error printing text: $e');
  }
}