OsUserEnrollment class Null safety

The object containing the user enrollment information for an authenticator whose credentials are managed by the operating system (like the fingerprint authenticator).

In this case, there is no notion of Account: either the authenticator is enrolled at the operating system level (for all users) or not.

Inheritance

Constructors

OsUserEnrollment({required bool isOSEnrolled, bool? isEnrolledWithClass2OrClass3Sensor})
Default constructor for OsUserEnrollment.
factory
OsUserEnrollment.fromJson(Map<String, dynamic> json)
Alternate constructor that creates an OsUserEnrollment from a json.
factory

Properties

hashCode → int
The hash code for this object.
read-onlyinherited
isEnrolledWithClass2OrClass3Sensor → bool?
For the biometric authenticator, returns true if the user is enrolled in the OS with at least one Class 2 (formerly weak) or Class 3 (formerly strong) biometric sensor, false otherwise.
read-only
isOSEnrolled → bool
Returns true if the user is enrolled to the OS based authenticator, false otherwise.
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
isEnrolled(String username) → bool
Tells whether a given user is enrolled or not.
override
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