print method

Future<void> print({
  1. String? deviceId,
  2. PrinterConnectionType? connectionType,
  3. required PrintThermalModel model,
})

Implementation

Future<void> print({
  String? deviceId,
  PrinterConnectionType? connectionType,
  required PrintThermalModel model,
}) async {
  await PrinterLabel.printESC(
    deviceId: deviceId,
    connectionType: connectionType,
    printThermalModel: model,
  );
}