VfsAdapter class abstract
- Implementers
Constructors
Properties
Methods
-
appendBytes(
String path, Uint8List data) → Future< void> -
Append
datatopath(creates if absent). -
delete(
String path) → Future< void> -
Delete
path. No-op if absent. -
ensureDir(
String dir) → Future< void> -
Create
dirand all parents if they don't exist. -
exists(
String path) → Future< bool> -
True if
pathexists. -
listNames(
String dir) → Future< List< String> > -
Return base-names of all entries in
dir. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openRaf(
String path) → Future< VfsFile> -
Open (or create) a random-access file at
path. -
readAll(
String path) → Future< Uint8List> - Read entire file as bytes. Returns empty list if not found.
-
rename(
String src, String dst) → Future< void> -
Rename
srctodstatomically. -
toString(
) → String -
A string representation of this object.
inherited
-
writeAll(
String path, Uint8List data) → Future< void> -
Write
datatopathatomically (write-then-rename on IO).
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited