NostrRelay constructor
const
NostrRelay({
- required WebSocketChannel socket,
- required String url,
A representation of a relay, it contains the WebSocket connection to the relay and the url of the relay.
Implementation
const NostrRelay({
required this.socket,
required this.url,
});