ExplorerFile class

Constructors

ExplorerFile(ExplorerSource explorerSource, File ioFile, String dirPath, String filename, StorageListeners storageListeners, {FileMode mode = FileMode.write, Encoding encoding = utf8, bool flush = false})

Properties

dirPath → String
final
encoding → Encoding
final
exists → bool
no setter
explorerSource → ExplorerSource
final
filename → String
final
flush → bool
final
hashCode → int
The hash code for this object.
no setterinherited
ioFile ↔ File
getter/setter pair
mode → FileMode
final
randomStreamId → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storageListeners → StorageListeners
final

Methods

bytesStream({Duration delayCheck = const Duration(milliseconds: 50)}) → Stream<Uint8List?>
delete({bool stream = true}) → Future
get({String? streamId}) → Future<String>
getBytes({String? streamId}) → Future<Uint8List>
getJson<T>({String? streamId}) → Future<T?>
jsonStream<T>({Duration delayCheck = const Duration(milliseconds: 50)}) → Stream<T?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(dynamic data, {bool stream = true, bool append = false, String appendSplit = "\n", FileMode mode = FileMode.write, Encoding encoding = utf8, bool flush = false}) → Future
setBytes(Uint8List bytes, {bool stream = true, FileMode mode = FileMode.write, bool flush = false}) → Future
setJson(dynamic data, {bool stream = true, SetMode setMode = SetMode.append, FileMode mode = FileMode.write, Encoding encoding = utf8, bool flush = false}) → Future
stream({Duration delayCheck = const Duration(milliseconds: 50)}) → Stream<String?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited