Profile class
Represents a user profile.
Constructors
-
Profile.new({required String id, required int accountIndex, required String name, required String did, String? description, String? profilePictureURI, required String profileRepositoryId, required Map<
String, FileStorage> fileStorages, required Map<String, CredentialStorage> credentialStorages, }) - Creates a new instance of Profile.
Properties
- accountIndex → int
-
Profile accountIndex
final
-
credentialStorages
→ Map<
String, CredentialStorage> -
Retrieves the list of available credential repositories
no setter
- defaultCredentialStorage → CredentialStorage?
-
Retrieves the default credential repository
Returns null when there are no credential repositories availble
no setter
- defaultCredentialStorageId ← String
-
Allows setting the default credential repository
Throws:
no getter
- defaultFileStorage → FileStorage?
-
Retrieves the default file repository
Returns null when there are no file repositories availble
no setter
- defaultFileStorageId ← String
-
Allows setting the default file repository
Throws:
no getter
- description ↔ String?
-
Profile description
getter/setter pair
- did → String
-
DID of the profile
final
-
fileStorages
→ Map<
String, FileStorage> -
Retrieves the list of available file repositories
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Profile id
final
- name ↔ String
-
Profile name
getter/setter pair
- profilePictureURI ↔ String?
-
Profile image URI
getter/setter pair
- profileRepositoryId → String
-
ID of the profile repository
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Retrieves the list of shared storages
no setter
Methods
- Adds a new shared storage
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
- Removes a shared storage
- Retrieves a shared storage by its ID
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited