PredictionResult class

Holds a single prediction result emitted by VisionFlow.predictions.

Constructors

PredictionResult({required int index, required String label})

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
Zero-based class index returned by the model's argmax.
final
label String
Human-readable label. Defaults to "Class <index>" unless a labels file is supplied (future feature).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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