BiometricPromptOptions class abstract

Defines the elements of the biometric prompt (title, description and cancel button text).

Implemented types

Constructors

BiometricPromptOptions({required String title, String? description, required String cancelButtonText, String? fallbackButtonText})
Default constructor for BiometricPromptOptions.
factory
BiometricPromptOptions.fromJson(Map<String, dynamic> json)
Alternate constructor that creates a BiometricPromptOptions from a json.
factory

Properties

cancelButtonText → String
The cancel button text.
no setter
description → String?
The optional description to be used to prompt the user.
no setteroverride
fallbackButtonText → String?
The fallback button text.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
The title to be used to prompt the user.
no setter

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Returns a JSON-encoded representation of the value you supply.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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