Code128Decoder.fromMap constructor
Code128Decoder.fromMap(
- Map<String, dynamic> map
)
Implementation
factory Code128Decoder.fromMap(Map<String, dynamic> map) => Code128Decoder(
enabled: map['enabled'] as bool?,
length1: map['length1'] as int?,
length2: map['length2'] as int?,
redundancy: map['redundancy'] as bool?,
enablePlain: map['enablePlain'] as bool?,
enableEan128: map['enableEan128'] as bool?,
enableIsbt128: map['enableIsbt128'] as bool?,
isbt128ConcatMode: map['isbt128ConcatMode'] != null
? Isbt128ContactMode.fromValue(map['isbt128ConcatMode'] as String)
: null,
checkIsbtTable: map['checkIsbtTable'] as bool?,
securityLevel: map['securityLevel'] != null
? SecurityLevel.fromValue(map['securityLevel'] as String)
: null,
reducedQuietZone: map['reducedQuietZone'] as bool?,
);