# 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"] = "SingleScanningMode";
      obj["confirmationSheetEnabled"] = confirmationSheetEnabled;
      obj["barcodeImageVisible"] = barcodeImageVisible;
      obj["sheetColor"] = sheetColor.toString();
      obj["dividerColor"] = dividerColor.toString();
      obj["modalOverlayColor"] = modalOverlayColor.toString();
      obj["barcodeTitle"] = barcodeTitle.toJson(config: config);
      obj["barcodeSubtitle"] = barcodeSubtitle.toJson(config: config);
      obj["submitButton"] = submitButton.toJson(config: config);
      obj["cancelButton"] = cancelButton.toJson(config: config);
      obj["barcodeInfoMapping"] = barcodeInfoMapping.toJson(config: config);
      obj["arOverlay"] = arOverlay.toJson(config: config);
      return obj;
    }