pathOf static method
The file behind key when it can be opened directly (native, non-vault). Useful for
players and share sheets. Vault entries never expose a plaintext path.
Implementation
static String? pathOf(String key, {UStorageBucket bucket = UStorageBucket.support}) {
if (!_backend.hasFileSystem || bucket == UStorageBucket.vault) return null;
final UStorageEntry? entry = _live(key, bucket);
return entry == null ? null : uJoinPath(_index(bucket).root, entry.file);
}