isRelayConnecting method

bool isRelayConnecting(
  1. String url
)

checks if a relay is connecting

Implementation

bool isRelayConnecting(String url) {
  final relay = globalState.relays[url]?.relay;
  return relay != null && relay.connecting;
}