MemoryFsSnapshot class final

A point-in-time deep copy of a MemoryFileSystem tree — see FsSnapshotExporter.exportSnapshot.

Constructors

MemoryFsSnapshot({required List<String> dirs, required Map<String, Uint8List> files})
const

Properties

dirs → List<String>
Every directory below the root, depth-first with children sorted by name — the same order a FileSystem.listDir-based traversal yields.
final
files → Map<String, Uint8List>
File path → deep-copied bytes, in the same traversal order as dirs (insertion-ordered map).
final
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
toString() → String
A string representation of this object.
inherited

Operators

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