RegistrationInfo class Null safety

The object exposing the registration information for an Authenticator.

Constructors

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

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
registeredAccounts → Set<Account>
Returns the objects representing the accounts that are registered with this authenticator.
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

fromJson(Map<String, dynamic> json) → dynamic
Returns a value of the type you specify, deserialized from a JSON object.
inherited
isRegistered(String username) → bool
Returns true if the provided user is registered and false otherwise.
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