TronRequestDetails class
Represents the details of a Tron network request.
Constructors
- TronRequestDetails({required int id, required TronHTTPMethods method, required String params})
-
Constructs a new TronRequestDetails instance with the specified parameters.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Unique identifier for the request.
final
- method → TronHTTPMethods
-
method for the request.
final
- params → String
-
Request parameters encoded as a JSON-formatted string.
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
-
toRequestBody(
) → String - Gets the request body as a string.
-
toString(
) → String -
A string representation of this object.
inherited
-
url(
String uri) → String - Generates the complete request URL by combining the base URI and method-specific URI.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited