toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (customPropertyFilter != null)
        'customPropertyFilter': customPropertyFilter!,
      if (customWeightsMetadata != null)
        'customWeightsMetadata': customWeightsMetadata!,
      if (documentCreatorFilter != null)
        'documentCreatorFilter': documentCreatorFilter!,
      if (documentNameFilter != null)
        'documentNameFilter': documentNameFilter!,
      if (documentSchemaNames != null)
        'documentSchemaNames': documentSchemaNames!,
      if (fileTypeFilter != null) 'fileTypeFilter': fileTypeFilter!,
      if (folderNameFilter != null) 'folderNameFilter': folderNameFilter!,
      if (isNlQuery != null) 'isNlQuery': isNlQuery!,
      if (propertyFilter != null) 'propertyFilter': propertyFilter!,
      if (query != null) 'query': query!,
      if (queryContext != null) 'queryContext': queryContext!,
      if (timeFilters != null) 'timeFilters': timeFilters!,
    };