SdkUserEnrollment class abstract

The object containing the user enrollment information for an authenticator whose credentials are managed by the SDK (like the PIN and password authenticator).

Inheritance

Constructors

SdkUserEnrollment({required Set<Account> enrolledAccounts})
Default constructor for SdkUserEnrollment.
factory
SdkUserEnrollment.fromJson(Map<String, dynamic> json)
Alternate constructor that creates an SdkUserEnrollment from a json.
factory

Properties

enrolledAccounts → Set<Account>
Returns the objects representing the accounts that are enrolled with this authenticator.
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

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
isEnrolled(String username) → bool
Tells whether a given user is enrolled or not.
override
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