TextClassifierResult class

Container with results of MediaPipe's classifyText task.

See also:

Inheritance

Constructors

TextClassifierResult.new({required Iterable<Classifications> classifications})
Instantiates a TextClassifierResult with fake data for testing.
TextClassifierResult.native(Pointer<TextClassifierResult>? _pointer)
Initializes a TextClassifierResult instance as a wrapper around native memory.

Properties

classifications Iterable<Classifications>
The classification results for each head of the model.
no setter
firstClassification → BaseClassifications?
Convenience helper for the first Classifications object.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isClosed bool
Tracks whether this object has been properly released via dispose.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Releases all resources for this object.
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