PermissionType class
Enum representing different types of permissions within a Tron account.
The available permission types are:
- Implemented types
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromName(
String? name, {PermissionType? defaultPermission}) → PermissionType -
Returns the PermissionType associated with the given
name
. -
fromValue(
int? value, {PermissionType? defaultPermission}) → PermissionType -
Returns the PermissionType associated with the given
value
.
Constants
- active → const PermissionType
- Represents the active permission of a Tron account.
- owner → const PermissionType
- Represents the owner permission of a Tron account.
-
values
→ const List<
PermissionType> - List of all available permission types.
- witness → const PermissionType
- Represents the witness permission of a Tron account.