SuiRequestDetails class

Represents the details of an Sui JSON-RPC request.

Inheritance
  • Object
  • BaseServiceRequestParams
  • SuiRequestDetails

Constructors

SuiRequestDetails.new({required int requestID, required Map<String, String> headers, required RequestServiceType type, required String method, required Map<String, dynamic> jsonBody})
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>
The JSON-formatted string containing the request parameters.
final
method String
The Sui method name 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
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