TronServiceProvider mixin

A mixin defining the service provider contract for interacting with the Tron network.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
The base URL of the Tron network endpoint.
no setter

Methods

get(TronRequestDetails params, [Duration? timeout]) Future<Map<String, dynamic>>
Makes an HTTP GET request to the Tron network with the specified params.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(TronRequestDetails params, [Duration? timeout]) Future<Map<String, dynamic>>
Makes an HTTP POST request to the Tron network with the specified params.
toString() String
A string representation of this object.
inherited

Operators

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