TronRequestUpdateBrokerage class

Update the witness's brokerage setting. developers.tron.network.

Inheritance

Constructors

TronRequestUpdateBrokerage({required TronAddress ownerAddress, required int brokerage, bool visible = true})

Properties

brokerage int
The brokerage ratio of the super representative, for example: 20 means 20%, 100 means 100%
final
hashCode int
The hash code for this object.
no setterinherited
method TronHTTPMethods
wallet/updateBrokerage
no setteroverride
ownerAddress TronAddress
Super representative's account address
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visible bool
Indicates whether the address is visible.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(Map<String, dynamic> result) Map<String, dynamic>
Converts the response result to the specified type RESULT.
inherited
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