UserMfaPreference class final

The MFA preferences for the user, returned from Amplify.Auth.fetchMfaPreference.

Mixed in types

Constructors

UserMfaPreference({Set<MfaType> enabled = const {}, MfaType? preferred})
The MFA preferences for the user, returned from Amplify.Auth.fetchMfaPreference.
const

Properties

enabled Set<MfaType>
The enabled MFA methods for the user.
final
hashCode int
The hash code for this object.
no setterinherited
preferred → MfaType?
The preferred MFA method of the user.
final
props List<Object?>
The type's equatable properties.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
runtimeTypeName String
The string value of runtimeType, saving a runtime lookup and preventing obfuscation during web compilation.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serializes this as a JSON object.
override
toString() String
A string representation of this object.
inherited

Operators

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