Document class

A document in an index.

Constructors

Document({required String id, List<Principal>? accessControlList, List<DocumentAttribute>? attributes, Uint8List? blob, ContentType? contentType, S3Path? s3Path, String? title})

Properties

accessControlList List<Principal>?
Information to use for user context filtering.
final
attributes List<DocumentAttribute>?
Custom attributes to apply to the document. Use the custom attributes to provide additional information for searching, to provide facets for refining searches, and to provide additional information in the query response.
final
blob Uint8List?
The contents of the document.
final
contentType ContentType?
The file type of the document in the Blob field.
final
hashCode int
The hash code for this object.
no setterinherited
id String
A unique identifier of the document in the index.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
s3Path S3Path?
final
title String?
The title of the document.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited