onWebSocketExchangeTimeout<T> method
Creates an onTimeout callback function for a webSocketExchange.
Implementation
@protected
Future<JsonRpcResponse<T>> Function() onWebSocketExchangeTimeout<T>()
=> () => Future.error(
TimeoutException('[SolanaMobileWebSocketConnection] web socket request timed out.'),
);