# 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["acceptedAngleScore"] = acceptedAngleScore;
      obj["acceptedSizeScore"] = acceptedSizeScore;
      obj["acceptedBrightnessThreshold"] = acceptedBrightnessThreshold;
      obj["acceptedAspectRatioScore"] = acceptedAspectRatioScore;
      obj["aspectRatios"] =
          aspectRatios.map((it) => it.toJson(config: config)).toList();
      obj["ignoreOrientationMismatch"] = ignoreOrientationMismatch;
      return obj;
    }