toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (blocks != null) 'blocks': blocks!,
if (detectedBarcodes != null) 'detectedBarcodes': detectedBarcodes!,
if (detectedLanguages != null) 'detectedLanguages': detectedLanguages!,
if (dimension != null) 'dimension': dimension!,
if (formFields != null) 'formFields': formFields!,
if (image != null) 'image': image!,
if (imageQualityScores != null)
'imageQualityScores': imageQualityScores!,
if (layout != null) 'layout': layout!,
if (lines != null) 'lines': lines!,
if (pageNumber != null) 'pageNumber': pageNumber!,
if (paragraphs != null) 'paragraphs': paragraphs!,
if (provenance != null) 'provenance': provenance!,
if (symbols != null) 'symbols': symbols!,
if (tables != null) 'tables': tables!,
if (tokens != null) 'tokens': tokens!,
if (transforms != null) 'transforms': transforms!,
if (visualElements != null) 'visualElements': visualElements!,
};