SentimentResult class Null safety

SentimentResult class average: the average of headlines sentiment for the day positive: how many positive sentiments for the day negative: how many negative sentiments for the day neutral: how many neutral sentiments for the day

Constructors

SentimentResult(double average, int positive, int negative, int neutral)

Properties

average double
read / write
hashCode int
The hash code for this object.
read-onlyinherited
negative int
read / write
neutral int
read / write
positive int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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