RpcService mixin

A mixin representing an RPC (Remote Procedure Call) service.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
Gets the base URL of the RPC service.
no setter

Methods

call(RPCRequestDetails params) Future<Map<String, dynamic>>
Makes an RPC call with the provided parameters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(String url, String body, {Map<String, String>? header}) Future<String>
Sends an HTTP POST request to the specified url with the given body.
toString() String
A string representation of this object.
inherited

Operators

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