FaceLivenessEvent class abstract

FaceLivenessEvent is an abstract class representing different types of events.

It is used to create an instance of one of the event subclasses based on a map input, which comes from the SDK's result.

Depending on the event type, it creates an instance of either FaceLivenessEventConnecting, FaceLivenessEventConnected, FaceLivenessEventClosed, FaceLivenessEventFailure or FaceLivenessEventSuccess. If the event is not recognized, it throws an internal exception.

This setup allows for a structured and type-safe way to handle different outcomes of the document capture process in the SDK.

Implementers

Constructors

FaceLivenessEvent.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
isFinal bool
no setter
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