toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cloudAiDocument != null) 'cloudAiDocument': cloudAiDocument!,
      if (contentCategory != null) 'contentCategory': contentCategory!,
      if (createTime != null) 'createTime': createTime!,
      if (creator != null) 'creator': creator!,
      if (displayName != null) 'displayName': displayName!,
      if (displayUri != null) 'displayUri': displayUri!,
      if (dispositionTime != null) 'dispositionTime': dispositionTime!,
      if (documentSchemaName != null)
        'documentSchemaName': documentSchemaName!,
      if (inlineRawDocument != null) 'inlineRawDocument': inlineRawDocument!,
      if (legalHold != null) 'legalHold': legalHold!,
      if (name != null) 'name': name!,
      if (plainText != null) 'plainText': plainText!,
      if (properties != null) 'properties': properties!,
      if (rawDocumentFileType != null)
        'rawDocumentFileType': rawDocumentFileType!,
      if (rawDocumentPath != null) 'rawDocumentPath': rawDocumentPath!,
      if (referenceId != null) 'referenceId': referenceId!,
      if (textExtractionDisabled != null)
        'textExtractionDisabled': textExtractionDisabled!,
      if (textExtractionEnabled != null)
        'textExtractionEnabled': textExtractionEnabled!,
      if (title != null) 'title': title!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (updater != null) 'updater': updater!,
    };