pathOf static method

String? pathOf(
  1. String key, {
  2. UStorageBucket bucket = UStorageBucket.support,
})

Real disk path of a stored file (null on web and for vault files). UFile.pathOf("avatar.png")

Implementation

static String? pathOf(String key, {UStorageBucket bucket = UStorageBucket.support}) => UFileStorage.pathOf(key, bucket: bucket);