TronRequestGetAccountResource class
Query the resource information of an account(bandwidth,energy,etc). developers.tron.network.
- Inheritance
-
- Object
- BaseServiceRequest<
AccountResourceModel, Map< String, dynamic> , TronRequestDetails> - TronRequest<
AccountResourceModel, Map< String, dynamic> > - TronRequestGetAccountResource
Constructors
- TronRequestGetAccountResource.new({required TronAddress address, bool visible = true})
Properties
- address → TronAddress
-
Address
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → TronHTTPMethods
-
method for the request.
no setteroverride
- requestType → RequestServiceType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visible → bool
-
Indicates whether the address is visible.
final
Methods
-
buildRequest(
int requestID) → TronRequestDetails -
Converts the request parameters to TronRequestDetails with a unique identifier.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResonse(
Map< String, dynamic> result) → AccountResourceModel -
override
-
toJson(
) → Map< String, dynamic> -
wallet/getaccountresource
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited