# toJson method

Map<String, dynamic> toJson()

## Implementation

    Map<String, dynamic> toJson() => <String, dynamic>{
          "uuid": uuid,
          "filters": (filters != null
              ? filters!.map((it) => it.toJson()).toList()
              : null),
          "polygon": polygon.map((it) => {"x": it.x, "y": it.y}).toList(),
          "documentDetectionStatus": (documentDetectionStatus != null
              ? documentDetectionStatus!.name
              : null),
          "documentQuality":
              (documentQuality != null ? documentQuality!.name : null),
          "source": (source != null ? source!.name : null),
          "originalImageURI": originalImageURI,
          "documentImageURI":
              (documentImageURI != null ? documentImageURI! : null),
          "unfilteredDocumentImageURI": (unfilteredDocumentImageURI != null
              ? unfilteredDocumentImageURI!
              : null),
          "documentImagePreviewURI":
              (documentImagePreviewURI != null ? documentImagePreviewURI! : null),
        };