request method

  1. @override
Future request({
  1. String? chainId,
  2. required SessionRequestParams request,
})
override

Implementation

@override
Future<dynamic> request({
  String? chainId,
  required SessionRequestParams request,
}) async {
  if (!isEnabled.value) return;
  await _awaitReadyness.future;
  await _rpcRequest(request.toJson());
  return await _response.future;
}