TronProvider class

Facilitates communication with the Tron network by making requests using a provided TronServiceProvider.

Inheritance

Constructors

TronProvider.new(TronServiceProvider rpc)
Constructs a new TronProvider instance with the specified rpc service provider.

Properties

hashCode int
The hash code for this object.
no setterinherited
rpc TronServiceProvider
The underlying Tron service provider used for network communication.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request<RESULT, SERVICERESPONSE>(BaseServiceRequest<RESULT, SERVICERESPONSE, TronRequestDetails> request, {Duration? timeout}) Future<RESULT>
Sends a request to the tron network using the specified request parameter.
override
requestDynamic<RESULT, SERVICERESPONSE>(BaseServiceRequest<RESULT, SERVICERESPONSE, TronRequestDetails> request, {Duration? timeout}) Future<SERVICERESPONSE>
Sends a request to the tron network using the specified request parameter.
override
toString() String
A string representation of this object.
inherited

Operators

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