TronRequestDetails class
Represents the details of a Tron network request.
- Inheritance
-
- Object
- BaseServiceRequestParams
- TronRequestDetails
Constructors
-
TronRequestDetails.new({required int requestID, required Map<
String, String> headers, required RequestServiceType type, required String path, required Map<String, dynamic> jsonBody}) -
Constructs a new TronRequestDetails instance with the specified parameters.
const
Properties
-
errorStatusCodes
→ List<
int> ? -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
finalinherited
-
jsonBody
→ Map<
String, dynamic> -
Request parameters encoded as a JSON-formatted string.
final
- path → String
-
method for the request.
final
- requestID → int
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
successStatusCodes
→ List<
int> ? -
finalinherited
- type → RequestServiceType
-
finalinherited
Methods
-
body(
) → List< int> ? -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseResponse<
T> (List< int> bodyBytes, [int? statusCode]) → BaseServiceResponse<T> -
inherited
-
toBody(
{bool bigIntAsString = false}) → String -
toJson(
) → Map< String, dynamic> -
override
-
toResponse<
T> (Object? body, [int? statusCode]) → BaseServiceResponse< T> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toUri(
String uri) → Uri -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited