paths property
A List<String>
containing all paths from picked files.
This may or not be available and will typically reference cached copies of original files (which can be accessed through its URI property).
Only available on IO. Throws UnsupportedError
on Web.
Implementation
List<String?> get paths => files
.map((file) => kIsWeb
? throw UnsupportedError(
'Picking paths is unsupported on Web. Please, use bytes property instead.')
: file.path)
.toList();