findSecondary static method
Implementation
static Future<String> findSecondary(
String toAtSign, String rootDomain, int rootPort) async {
var secondaryUrl =
await AtLookupImpl.findSecondary(toAtSign, rootDomain, rootPort);
if (secondaryUrl == null) {
throw SecondaryNotFoundException(
'No secondary url found for atsign: $toAtSign');
}
return secondaryUrl;
}