blob: 595e0f8db421a961b06d31256ddf6aa00fc681c3 [file] [log] [blame]
import 'dart:typed_data';
/// Fake File for Web
abstract class File {
/// Get the path of the file.
String get path;
/// Reads the entire file contents as a list of bytes.
///
/// Returns a `Future<Uint8List>` that completes with the list of bytes that
/// is the contents of the file.
Future<Uint8List> readAsBytes();
}