# toJson method

1. @override

Map<String, dynamic> toJson({

1. ToJsonConfiguration? config,

})
override

## Implementation

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