toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (chunkedDocument != null) 'chunkedDocument': chunkedDocument!,
if (content != null) 'content': content!,
if (documentLayout != null) 'documentLayout': documentLayout!,
if (entities != null) 'entities': entities!,
if (entityRelations != null) 'entityRelations': entityRelations!,
if (error != null) 'error': error!,
if (mimeType != null) 'mimeType': mimeType!,
if (pages != null) 'pages': pages!,
if (revisions != null) 'revisions': revisions!,
if (shardInfo != null) 'shardInfo': shardInfo!,
if (text != null) 'text': text!,
if (textChanges != null) 'textChanges': textChanges!,
if (textStyles != null) 'textStyles': textStyles!,
if (uri != null) 'uri': uri!,
};