static String safeDecodeFull(String path) { try { return Uri.decodeFull(path); } on FormatException { return path.split('/').map(safeDecodeUriComponent).join('/'); } }