CodeFormatUtils extension

on

Properties

name String
no setter
propertyName String
no setter

Static Methods

getAsProperties(List<CodeFormat> codeFormats, {bool enabled = true}) Map<String, dynamic>
Returns a Map of Honeywell's Barcode formats properties according to the List of CodeFormat specified and the enabled value which is true by default. codeFormats the List of CodeFormat enums to be converted to Honeywell properties enabled the value to be set to the format property, true or false
getAsPropertiesComplement(List<CodeFormat>? codeFormats, {bool enabled = true}) Map<String, dynamic>
Returns a Map of Honeywell's Barcode formats properties according to the List of CodeFormat specified and the enabled value which is true by default. This function is useful when you want to enable some codeFormats and disable the rest and the other way around. codeFormats the List of CodeFormat enums to be converted to Honeywell properties enabled the value to be set to the format property, true or false. IMPORTANT:
valueOf(String name) CodeFormat?

Constants

ALL_1D_FORMATS → const List<CodeFormat>
One dimensional code formats
ALL_1D_INDUSTRIAL_FORMATS → const List<CodeFormat>
One dimensional industrial code formats
ALL_1D_PRODUCT_FORMATS → const List<CodeFormat>
One dimensional product code formats
ALL_2D_FORMATS → const List<CodeFormat>
Two dimensional code formats
ALL_FORMATS → const List<CodeFormat>
All supported code formats