SimplePromptResult class

Result from simple biometric prompt authentication.

Constructors

SimplePromptResult({bool? success, String? error, BiometricError? code, AuthenticationType? authenticationType})

Properties

authenticationType AuthenticationType?
The type of authentication used to complete this operation.
getter/setter pair
code BiometricError?
Standardized error code if authentication failed. Use this for programmatic error handling.
getter/setter pair
error String?
Error message if authentication failed. This is a human-readable description of what went wrong.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool?
Whether authentication was successful.
getter/setter pair

Methods

encode() Object
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.
override

Static Methods

decode(Object result) SimplePromptResult