path property
The absolute path for a cached copy of this file. It can be used to create a file instance with a descriptor for the given path.
final File myFile = File(platformFile.path);
On web this is always null
. You should access bytes
property instead.
Read more about it here
Implementation
final String? path;