# 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["noDocumentFound"] = noDocumentFound;
      obj["badAspectRatio"] = badAspectRatio;
      obj["badAngles"] = badAngles;
      obj["orientationMismatch"] = orientationMismatch;
      obj["textHintOffCenter"] = textHintOffCenter;
      obj["tooSmall"] = tooSmall;
      obj["tooNoisy"] = tooNoisy;
      obj["tooDark"] = tooDark;
      obj["energySaveMode"] = energySaveMode;
      obj["readyToCapture"] = readyToCapture;
      obj["capturing"] = capturing;
      obj["captureManual"] = captureManual;
      return obj;
    }