# 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["totalScore"] = totalScore;
      obj["distanceScore"] = distanceScore;
      obj["angleScore"] = angleScore;
      obj["sizeScore"] = sizeScore;
      obj["aspectRatioScore"] = aspectRatioScore;
      obj["lineCoverageScore"] = lineCoverageScore;
      obj["widthScore"] = widthScore;
      obj["heightScore"] = heightScore;
      return obj;
    }