I2of5Decoder.fromMap constructor

I2of5Decoder.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory I2of5Decoder.fromMap(Map<String, dynamic> map) => I2of5Decoder(
      enabled: map['enabled'] as bool?,
      length1: map['length1'] as int?,
      length2: map['length2'] as int?,
      redundancy: map['redundancy'] as bool?,
      verifyCheckDigit: map['verifyCheckDigit'] != null
          ? CheckDigitType.fromValue(map['verifyCheckDigit'] as String)
          : null,
      reportCheckDigit: map['reportCheckDigit'] as bool?,
      convertToEan13: map['convertToEan13'] as bool?,
      securityLevel: map['securityLevel'] != null
          ? SecurityLevel.fromValue(map['securityLevel'] as String)
          : null,
      reducedQuietZone: map['reducedQuietZone'] as bool?,
      febraban: map['febraban'] as bool?,
    );