toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cloudAiDocumentOption != null)
        'cloudAiDocumentOption': cloudAiDocumentOption!,
      if (document != null) 'document': document!,
      if (requestMetadata != null) 'requestMetadata': requestMetadata!,
      if (updateOptions != null) 'updateOptions': updateOptions!,
    };