SuiServiceProvider mixin

A mixin for providing JSON-RPC service functionality.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

doRequest<T>(SuiRequestDetails params, {Duration? timeout}) Future<SuiServiceResponse<T>>
Example: @override Future<SuiServiceResponse<T>> doRequest<T>(SuiRequestDetails params, {Duration? timeout}) async { final response = await client .post(params.toUri(url), headers: params.headers, body: params.body()) .timeout(timeout ?? defaultTimeOut); return params.toResponse(response.bodyBytes, response.statusCode); }
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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