AdminAccount class
A privileged account at the mediator (an admin or rootAdmin).
Constructors
- AdminAccount({required Vid did, required AccountType accountType})
-
const
-
AdminAccount.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- accountType → AccountType
-
The admin role; one of
adminorrootAdmin.final - did → String
-
The admin account's identifier — its DID or, for privacy, a stable hash of that DID
(see
Vid).final - hashCode → int
-
The hash code for this object.
no setterinherited
- 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> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited