getConnectedRelays method

List<Relay> getConnectedRelays(
  1. Iterable<String> urls
)

Implementation

List<Relay> getConnectedRelays(Iterable<String> urls) {
  return urls
      .where((url) => isRelayConnected(url))
      .map((url) => relays[url]!)
      .toList();
}