decode static method
Implementation
static UR decode(String message) {
final components = parse(message);
if (components[1].isEmpty) {
throw InvalidPathLengthError();
}
final body = components[1][0];
return decodeBody(components[0], body);
}