toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (content != null) 'content': content!,
      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!,
    };