BarcodeStyleContent extension
style.encodeContent(writer, content): a BarcodeContent encoded for a
BarcodeStyle.
- on
Methods
-
encodeContent(
BarcodeWriter writer, BarcodeContent content) → Future< BarcodeSymbol> -
Available on BarcodeStyle, provided by the BarcodeStyleContent extension
Encodescontentwithwriterfor this style: aswriter.encodeContent(content)does (BinaryContent as bytes, Gs1Content as GS1, the rest as its payload), with the error correction and size a BarcodeStyle.logo needs, as BarcodeStyle.encode gives them.