PromptOptions class Null safety

Defines the elements of a user prompt (title and description).

Depending on the nature of the user prompt, this object will be either a BiometricPromptOptions or a DevicePasscodePromptOptions.

Implementers

Constructors

PromptOptions.fromJson(Map<String, dynamic> json)
Alternate constructor that creates a PromptOptions from a json.
factory

Properties

description → String?
Returns the optional description to be used to prompt the user.
read-only
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
title → String
Returns the title to be used to prompt the user.
read-only

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 non-existent 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