GraphicsFileSystem class abstract

Provides byte-level IO without depending on dart:io, enabling libgfx to run in browser and isolate environments. Implementations handle any platform-specific directory management.

Implementers

Constructors

GraphicsFileSystem()

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, or null when the resource cannot be found.
toString() String
A string representation of this object.
inherited
writeFile(String path, List<int> bytes) Future<void>
Persists bytes at path, creating parent directories when required.

Operators

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