actionPrintBarcode method

dynamic actionPrintBarcode(
  1. String content, {
  2. StarXpandBarcodeSymbology? symbology,
  3. bool? printHri,
  4. int? barDots,
  5. StarXpandBarcodeBarRatioLevel? barRatioLevel,
  6. double? height,
})

Implementation

actionPrintBarcode(String content,
    {StarXpandBarcodeSymbology? symbology,
    bool? printHri,
    int? barDots,
    StarXpandBarcodeBarRatioLevel? barRatioLevel,
    double? height}) {
  _actions.add({
    'action': 'printBarcode',
    'content': content,
    'symbology': symbology?.name,
    'printHri': printHri,
    'barDots': barDots,
    'barRatioLevel': barRatioLevel?.name,
    'height': height
  }..trim());
}