RecognitionCandidate class

Individual recognition candidate.

Constructors

RecognitionCandidate({required String text, required double score})
Constructor to create an instance of RecognitionCandidate.
RecognitionCandidate.fromJson(Map json)
Returns an instance of RecognitionCandidate from a given json.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double
Score of the candidate. Values may be positive or negative.
final
text String
The textual representation of this candidate.
final

Methods

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

Operators

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