# DocumentDetectionScores.fromJson constructor

DocumentDetectionScores.fromJson(

1. Map<String, dynamic> json

)

## Implementation

    factory DocumentDetectionScores.fromJson(Map<String, dynamic> json) =>
        DocumentDetectionScores(
          totalScore: (json["totalScore"] as num).toDouble(),
          distanceScore: (json["distanceScore"] as num).toDouble(),
          angleScore: (json["angleScore"] as num).toDouble(),
          sizeScore: (json["sizeScore"] as num).toDouble(),
          aspectRatioScore: (json["aspectRatioScore"] as num).toDouble(),
          lineCoverageScore: (json["lineCoverageScore"] as num).toDouble(),
          widthScore: (json["widthScore"] as num).toDouble(),
          heightScore: (json["heightScore"] as num).toDouble(),
        );