pathInSharedStorage method

Future<String?> pathInSharedStorage(
  1. String filePath,
  2. SharedStorage destination, {
  3. String directory = '',
})

Returns the filePath to the file represented by filePath in shared storage destination and potentially a directory within that destination.

Returns the path to the stored file, or null if not successful

See the documentation for moveToSharedStorage for special use case on iOS for .images and .video

Platform-dependent, not consistent across all platforms

Implementation

Future<String?> pathInSharedStorage(
        String filePath, SharedStorage destination,
        {String directory = ''}) async =>
    _downloader.pathInSharedStorage(filePath, destination, directory);