A VirtualFileSystem implementation that uses a Random instance for xRandomness and DateTime.now for xCurrentTime.
- Inheritance
-
- Object
- VirtualFileSystem
- BaseVirtualFileSystem
Constructors
- BaseVirtualFileSystem({Random? random, required String name})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
xAccess(
String path, int flags) → int -
Check whether a file can be accessed.
inherited
-
xCurrentTime(
) → DateTime -
Returns the current time.
override
-
xDelete(
String path, int syncDir) → void -
Delete a file.
inherited
-
xFullPathName(
String path) → String -
Resolves a
path
name supplied by the user into a path that can be used by the other methods of this VFS.inherited -
xOpen(
Sqlite3Filename path, int flags) → XOpenResult -
Opens a file, returning supported flags and a file instance.
inherited
-
xRandomness(
Uint8List target) → void -
Fill the
target
with random bytes.override -
xSleep(
Duration duration) → void -
Sleeps for the passed
duration
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited