toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => <String, dynamic>{
      "_type": "FindAndPickScanningMode",
      "scanningCompletedColor": scanningCompletedColor.toString(),
      "scanningPartiallyColor": scanningPartiallyColor.toString(),
      "scanningNotScannedColor": scanningNotScannedColor.toString(),
      "allowPartialScan": allowPartialScan,
      "expectedBarcodes": expectedBarcodes.map((it) => it.toJson()).toList(),
      "countingRepeatDelay": countingRepeatDelay,
      "sheet": sheet.toJson(),
      "sheetContent": sheetContent.toJson(),
      "manualCountEditDialog": manualCountEditDialog.toJson(),
      "arOverlay": arOverlay.toJson(),
      "partialScannedAlertDialogEnabled": partialScannedAlertDialogEnabled,
      "partialScannedAlertDialog": partialScannedAlertDialog.toJson(),
      "confirmationAlertDialogEnabled": confirmationAlertDialogEnabled,
      "confirmationAlertDialog": confirmationAlertDialog.toJson(),
    };