fromDomain static method
Creates an instance of this class by loading the transfer server sep 24 url from the given domain
stellar toml file.
Implementation
static Future<TransferServerSEP24Service> fromDomain(String domain, {http.Client? httpClient}) async {
StellarToml toml = await StellarToml.fromDomain(domain, httpClient: httpClient);
String? addr = toml.generalInformation.transferServerSep24;
checkNotNull(
addr, "Transfer server SEP 24 not available for domain " + domain);
return TransferServerSEP24Service(addr!, httpClient: httpClient);
}