UserPasskey class
One of the user's registered passkeys — metadata only, never credential secrets.
Constructors
- UserPasskey({required String id, String? alias, String? userAgent, String? origin, required String credentialId, required String createdAt, String? updatedAt, PasskeyStorageInfo? storage})
-
const
Properties
- alias → String?
-
final
- createdAt → String
-
ISO-8601 timestamp — see VerifiedCredential.lastSelectedAt for this DSL's convention of leaving server timestamps as strings rather than a dedicated date type.
final
- credentialId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- origin → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storage → PasskeyStorageInfo?
-
final
- updatedAt → String?
-
final
- userAgent → String?
-
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.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → UserPasskey