IdentificationResult class

Result from an identification attempt

Constructors

IdentificationResult({required bool identified, required String customId, required double confidence, required double distance, String? imagePath})
const
IdentificationResult.fromMap(Map map)
Parse result from platform callback
factory

Properties

confidence double
Confidence score (0.0 to 1.0)
final
customId String
The custom ID of the identified user (empty if not identified)
final
distance double
Distance metric (lower is better match)
final
hashCode int
The hash code for this object.
no setterinherited
identified bool
Whether identification was successful
final
imagePath String?
Path to saved image (if saveImage was enabled)
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.
override

Operators

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