User class

Available extensions
Annotations
  • @JsonSerializable.new()

Constructors

User(String userId, DID did, String sessionKey)
User.fromJson(Map<String, dynamic> json)
Create a new instance from a json
factory

Properties

did DID
final
hashCode int
The hash code for this object.
no setterinherited
publicKey Future<String?>

Available on User, provided by the PublicKey extension

Public key with hex encoded.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionKey String
final
userId String
final

Methods

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

Operators

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