blob: bc10a4890c8d0cfef8f8ad0a4d32972e14e633c3 [file] [log] [blame]
import './base.dart';
/// A PickedFile is a cross-platform, simplified File abstraction.
///
/// It wraps the bytes of a selected file, and its (platform-dependant) path.
class PickedFile extends PickedFileBase {
/// Construct a PickedFile object, from its `bytes`.
///
/// Optionally, you may pass a `path`. See caveats in [PickedFileBase.path].
PickedFile(String path) : super(path) {
throw UnimplementedError(
'PickedFile is not available in your current platform.');
}
}