SuiRequest<RESULT, SERVICERESPONSE> class abstract

An abstract class representing Sui JSON-RPC requests with generic response types.

Inheritance
Implementers

Constructors

SuiRequest.new({SuiApiRequestPagination? pagination})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
method String
The Sui method associated with the request.
final
pagination SuiApiRequestPagination?
final
requestType → RequestServiceType
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildRequest(int requestID) SuiRequestDetails
Converts the request parameters to a SuiRequestDetails object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onResonse(SERVICERESPONSE result) → RESULT
inherited
toJson() List
Converts the request parameters to a JSON representation.
toString() String
A string representation of this object.
inherited

Operators

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