PackagedFoodCandidate class

Represents the result of the packaged food detection process.

Constructors

PackagedFoodCandidate(PackagedFoodCode packagedFoodCode, double confidence)
Constructs a PackagedFoodCandidate with the provided packagedFoodCode and confidence.
const
PackagedFoodCandidate.fromJson(Map<String, dynamic> json)
Constructs a PackagedFoodCandidate from a JSON map.
factory

Properties

confidence double
The confidence level of the detection.
final
hashCode int
The hash code for this object.
no setterinherited
packagedFoodCode PackagedFoodCode
The detected packaged food code.
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