UserEnrollment class Null safety

The object containing the user enrollment information.

Depending on the nature of the authenticator, this object will be either an OsUserEnrollment or an SdkUserEnrollment.

Implementers

Constructors

UserEnrollment()
Default constructor used for json generation.
factory
UserEnrollment.fromJson(Map<String, dynamic> json)
Alternate constructor that creates a UserEnrollment from a json.
factory

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
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
isEnrolled(String username) → bool
Tells whether a given user is enrolled or not.
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