RpcClient constructor
RpcClient(})
Implementation
factory RpcClient(
String url, {
Duration timeout = const Duration(seconds: 30),
Map<String, String> customHeaders = const {},
}) =>
_RpcClient(
url,
JsonRpcClient(
url,
timeout: timeout,
customHeaders: customHeaders,
),
);