path property Null safety

String path
inherited

Get the path of the picked file.

This should only be used as a backwards-compatibility clutch for mobile apps, or cosmetic reasons only (to show the user the path they've picked).

Accessing the data contained in the picked file by its path is platform-dependant (and won't work on web), so use the byte getters in the PickedFile instance instead.

Implementation

String get path {
  throw UnimplementedError('.path has not been implemented.');
}