Factor class
Constructors
- Factor({required String id, required String? friendlyName, required FactorType factorType, required FactorStatus status, required DateTime createdAt, required DateTime updatedAt})
-
const
-
Factor.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createdAt → DateTime
-
final
- factorType → FactorType
-
Type of factor. Only
totp
supported with this version but may change in future versions.final - friendlyName → String?
-
Friendly name of the factor, useful to disambiguate between multiple factors.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
ID of the factor.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → FactorStatus
-
Factor's status.
final
- updatedAt → DateTime
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override