LabelAnnotation class Null safety

Set of detected labels

Annotations

Constructors

LabelAnnotation({required String mid, required String description, required double score, required double topicality})
LabelAnnotation.fromJson(Map<String, dynamic> json)
factory

Properties

description String
The label itself
final
hashCode int
The hash code for this object.
read-only, inherited
mid String
Object ID that should align with EntityAnnotation mid.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
score double
Score of the result. Range 0, 1.
final
topicality double
Topicality of the result. Range 0, 1.
final

Methods

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

Operators

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