downloadUrl function

Future<String> downloadUrl(
  1. String path
)

A URL that serves the object at path, including its access token.

Implementation

Future<String> downloadUrl(String path) async {
  final p = path.toNativeUtf8();
  try {
    return await _awaitOutcome(
      (port) => fdbStorageDownloadUrl(p.cast(), port),
      'downloadUrl $path',
    );
  } finally {
    calloc.free(p);
  }
}