Document class

Represents the input to API methods.

Constructors

Document({String? content, String? gcsContentUri, String? language, String? type})
Document.fromJson(Map json_)

Properties

content String?
The content of the input in string format.
getter/setter pair
gcsContentUri String?
The Google Cloud Storage URI where the file content is located.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
language String?
The language of the document (if not specified, the language is automatically detected).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String?
If the type is not set or is TYPE_UNSPECIFIED, returns an INVALID_ARGUMENT error.
getter/setter pair

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