PredictionResult class


📘 LiteVisionAI A simple, elegant Flutter library for TensorFlow Lite image classification. Designed for developers who want to easily load, analyze, and interpret deep learning models directly in their apps.

Represents the result of an image classification operation.

Contains:

  • name → The top predicted class label.
  • accuracy → Confidence of the top prediction.
  • predictions → A list of top results (class name → confidence %).

Constructors

PredictionResult({required String name, required double accuracy, required Map<String, double> predictions})

Properties

accuracy → double
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
predictions → Map<String, double>
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