toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      "acceptedDocumentFormats":
          acceptedDocumentFormats.map((it) => it.name).toList(),
      "barcodesExtensionFilter": barcodesExtensionFilter.name,
      "barcodesRegexFilter": barcodesRegexFilter,
      "minimumTextLength": minimumTextLength,
      "maximumTextLength": maximumTextLength,
      "minimum1DBarcodesQuietZone": minimum1DBarcodesQuietZone,
      "stripCheckDigits": stripCheckDigits,
      "barcodeFormats": barcodeFormats.map((it) => it.name).toList(),
      "msiPlesseyChecksumAlgorithm": msiPlesseyChecksumAlgorithm.name,
      "lowPowerMode": lowPowerMode,
      "codeDensity": codeDensity.name,
      "gs1Handling": gs1Handling.name,
    };