RelayConnectivity<T> constructor

RelayConnectivity<T>({
  1. required Relay relay,
  2. RelayInfo? relayInfo,
  3. NostrTransport? relayTransport,
  4. T? specificEngineData,
})

Creates a new relay connectivity. relayTransport == null => relay is not connected and is not in connecting state

Implementation

RelayConnectivity({
  required this.relay,
  this.relayInfo,
  this.relayTransport,
  this.specificEngineData,
});