Sentence class
Represents a sentence in the input document.
Constructors
- Sentence({Sentiment? sentiment, TextSpan? text})
- Sentence.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sentiment ↔ Sentiment?
-
For calls to AnalyzeSentiment or if
AnnotateTextRequest.Features.extract_document_sentiment is set to true,
this field will contain the sentiment for the sentence.
getter/setter pair
- text ↔ TextSpan?
-
The sentence text.
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