DirectoryDomeContainer class final

An unpacked <name>.dome/ directory (01b §2: equally valid; mimetype optional).

Implemented types

Properties

entries → List<DomeEntryInfo>
Every entry (incl. mimetype and dome.json when present).
final
hashCode → int
The hash code for this object.
no setterinherited
root → String
Absolute path of the directory.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
Releases the underlying file (idempotent).
override
has(String path) → bool
Whether path exists.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openRead(String path) → Stream<Uint8List>
Streams the data of path (verified: CRC for ZIP entries).
override
readBytes(String path, {int? maxBytes}) → Future<Uint8List>
Reads path fully; throws PayloadTooLargeException above maxBytes.
override
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

open(Directory dir, {DomeLimits limits = const DomeLimits()}) → Future<DirectoryDomeContainer>
Lists dir (regular files only; symbolic links are refused as unsafe).