unregisterRelay method

bool unregisterRelay(
  1. String relay
)

Removes an event from the registry with the given event.

Implementation

bool unregisterRelay(String relay) {
  final isUnregistered = relaysWebSocketsRegistry.remove(relay) != null;

  return isUnregistered;
}