AuthMessage class
Represents a biometric authentication message for device prompts.
Contains optional fields to customize the message shown to the user during biometric authentication on iOS and Android devices.
Constructors
- AuthMessage({String? title, String? hint, String? reason})
- Creates a new AuthMessage.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint ↔ String?
-
An optional hint or message shown to the user.
getter/setter pair
- reason ↔ String?
-
The reason for requesting biometric authentication on iOS devices.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
The title shown in the biometric prompt on Android devices.
getter/setter pair
Methods
-
copyWith(
{String? title, String? hint, String? reason}) → AuthMessage - Returns a copy of this AuthMessage with updated fields.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the AuthMessage to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited