PrinterModel.phomemo constructor

const PrinterModel.phomemo({
  1. String brand = 'Phomemo',
  2. required String deviceName,
  3. bool rotateImage = false,
  4. required double dpmm,
  5. PrintData serialize(
    1. PrinterModel self,
    2. ImageData image,
    3. PrintConfig config
    ) = phomemoSerialize,
  6. BLEConfig bleConfig = phomemoBLEConfig,
})

Implementation

const PrinterModel.phomemo({
  this.brand = 'Phomemo',
  required this.deviceName,
  this.rotateImage = false,
  required this.dpmm,
  this.serialize = phomemoSerialize,
  this.bleConfig = phomemoBLEConfig,
});