LocalGraphicsFileSystem class
Default GraphicsFileSystem backed by dart:io. This sits in the optional
lib/io import path so apps targeting the VM can opt-in without pulling the
dependency into web builds.
- Implemented types
Constructors
- LocalGraphicsFileSystem()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readFile(
String path) → Future< Uint8List?> -
Returns the file contents for
path, ornullwhen the resource cannot be found.override -
toString(
) → String -
A string representation of this object.
inherited
-
writeFile(
String path, List< int> bytes) → Future<void> -
Persists
bytesatpath, creating parent directories when required.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited