getFileUrl static method

Future<String> getFileUrl(
  1. String filePath
)

Get full URL for a file in the POD.

filePath - Relative path to the file. Returns full URL like: https://pods.solidcommunity.au/geopod/data/places/places.json

Implementation

static Future<String> getFileUrl(String filePath) async {
  final fullPath = getFilePath(filePath);
  return await PodAuth.getResourceUrl(fullPath, isContainer: false);
}