AccountType class
Enum representing the different types of Tron accounts.
Each account type has a unique value associated with it and a name for identification. The available account types are:
- normal: Represents a normal Tron account.
- assetIssue: Represents an account associated with asset issuance.
- contract: Represents an account associated with a contract.
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromName(
String? name) → AccountType? -
Returns the AccountType associated with the given
name
. -
fromValue(
int value) → AccountType -
Returns the AccountType associated with the given
value
.
Constants
- assetIssue → const AccountType
- Represents an account associated with asset issuance.
- contract → const AccountType
- Represents an account associated with a contract.
- normal → const AccountType
- Represents a normal Tron account.
-
values
→ const List<
AccountType> - List of all available account types.