# toJson method

Map<String, dynamic> toJson({

1. ToJsonConfiguration? config,

})

## Implementation

    Map<String, dynamic> toJson({ToJsonConfiguration? config}) {
      config = config ?? ToJsonConfiguration();
      Map<String, dynamic> obj = <String, dynamic>{};
      obj["shouldCropDocument"] = shouldCropDocument;
      obj["recognizePatientInfoBox"] = recognizePatientInfoBox;
      obj["recognizeBarcode"] = recognizeBarcode;
      obj["extractCroppedImage"] = extractCroppedImage;
      obj["preprocessInput"] = preprocessInput;
      return obj;
    }