TronRequestAccountPermissionUpdate class

Update the account's permission (developers.tron.network)https://developers.tron.network/reference/accountpermissionupdate.

Inheritance

Constructors

TronRequestAccountPermissionUpdate({required TronAddress ownerAddress, required List<Map<String, dynamic>> actives, required Map<String, dynamic> owner, Map<String, dynamic>? witness, int? permissionId, bool visible = true})
TronRequestAccountPermissionUpdate.fromContract(AccountPermissionUpdateContract contract, {int? permissionId})
factory

Properties

actives List<Map<String, dynamic>>
List of active permissions for the account
final
hashCode int
The hash code for this object.
no setterinherited
method TronHTTPMethods
method for the request.
no setteroverride
owner Map<String, dynamic>
The owner permission of the account. The fields contained in Permission are as follows: type - int: permission type; permission_name - string: permission name; threshold - int64: threshold; parent_id - int32: currently only 0; operations - string: permission; keys - Key[]: the addresses and weights that jointly own the permission, up to 5 keys are allowed
final
ownerAddress TronAddress
account address
final
permissionId int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visible bool
Indicates whether the address is visible.
final
witness Map<String, dynamic>?
Account witness permissions
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) ParsedContractRequest
Converts the response result to the specified type RESULT.
override
toJson() Map<String, dynamic>
Converts the request parameters to a JSON format.
override
toRequest(int _) TronRequestDetails
Converts the request parameters to TronRequestDetails with a unique identifier.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited