VerifyResult class

Annotations

Constructors

VerifyResult({required VerifyOutcome outcome, required double similarity, required double? livenessScore, required Duration elapsed, required bool isSandbox, String? signedResult})
Creates a result (FacePing creates these; you only need this in tests).
const

Properties

elapsed → Duration
How long the check took on the device.
final
hashCode → int
The hash code for this object.
no setteroverride
isMatch → bool
True for VerifyOutcome.match.
no setter
isSandbox → bool
True when the face was enrolled with a sandbox key.
final
livenessScore → double?
Passive liveness score of the deciding frame, when a face was seen.
final
outcome → VerifyOutcome
What the check found.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signedResult → String?
Check-in devices: this check signed by the device (a compact JWS), for your backend to verify with POST /v1/check-results/verify. Every outcome is signed, not only a match. Null in the sandbox (a sandbox key) and on a device that hasn't synced its check-in list yet.
final
similarity → double
Cosine similarity of the best frame to the enrolled face (the match threshold is 0.363).
final

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.
override