sendCustomResponse method
Send a custom response.
Implementation
Future sendCustomResponse({
required int id,
String? result,
String? error,
}) async {
final response = JsonRpcResponse(
id: id,
result: result,
error: error,
);
return _sendResponse(response);
}