decodeAddress static method
Implementation
static DecodeAddressResult decodeAddress(String address) {
if (isFriendly(address)) {
return fromFriendlyAddress(address);
} else if (isRaw(address)) {
return fromRawAddress(address);
} else {
throw AddressConverterException('Unknown address type.',
details: {"address": address});
}
}