getRelayInfo method
fetches relay info todo: refactor to use http injector and decouple data from fetching
Implementation
Future<RelayInfo?> getRelayInfo(String url) async {
if (globalState.relays[url] != null) {
return await RelayInfo.get(url);
}
return null;
}