PickedFile constructor Null safety

PickedFile(
  1. String path
)

Construct a PickedFile object, from its bytes.

Optionally, you may pass a path. See caveats in PickedFileBase.path.

Implementation

PickedFile(String path) : super(path) {
  throw UnimplementedError(
      'PickedFile is not available in your current platform.');
}