AccountPermissionUpdateContract class
Update the account's permission.
- Inheritance
-
- Object
- TronProtocolBufferImpl
- TronBaseContract
- AccountPermissionUpdateContract
Constructors
-
AccountPermissionUpdateContract({required TronAddress ownerAddress, required Permission owner, Permission? witness, required List<
Permission> actives}) - Create a new AccountPermissionUpdateContract instance with specified parameters.
-
AccountPermissionUpdateContract.deserialize(List<
int> bytes) -
factory
-
AccountPermissionUpdateContract.fromJson(Map<
String, dynamic> json) -
Create a new AccountPermissionUpdateContract instance by parsing a JSON map.
factory
Properties
-
actives
→ List<
Permission> -
List of active permissions for the account
final
- contractType → TransactionContractType
-
no setteroverride
-
fieldIds
→ List<
int> -
List of field IDs corresponding to the values.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- owner → Permission
-
The owner permission of the account.
final
- ownerAddress → TronAddress
-
account address
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toHex → String
-
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
- trxAmount → BigInt
-
the trx amount of contract;
if contract need any trx amount for spending, stack, freez or ....
no setterinherited
- typeURL → String
-
no setterinherited
- values → List
-
List of dynamic values to be encoded.
no setteroverride
- witness → Permission?
-
Account witness permissions
final
Methods
-
cast<
T extends TronBaseContract> () → T -
inherited
-
copyWith(
{TronAddress? ownerAddress, Permission? owner, Permission? witness, List< Permission> ? actives}) → AccountPermissionUpdateContract - Create a new AccountPermissionUpdateContract instance by copying the existing one and replacing specified fields with new values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBuffer(
) → List< int> -
Converts the protocol buffer data to a byte buffer.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert the AccountPermissionUpdateContract object to a JSON representation.
override
-
toString(
) → String -
Convert the AccountPermissionUpdateContract object to its string representation.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited