User class

Represents a user for a public key credential creation operation.

Constructors

User({required String id, required String name, required String displayName})
Constructs a new User instance.
User.fromJson(Map<String, dynamic> json)
Constructs a User instance from a JSON object.
factory

Properties

displayName String
The display name.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The user identifier.
final
name String
The username.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this User instance to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited