OverlayMaterializer class

Writes a GridAssetResolution onto a target ROOT — stateless, and safe to construct anywhere (a CLI Command, a Flutter interactor, a synchronous engine Capability hook). This class has NO CLI and NO git dependency.

Constructors

OverlayMaterializer()
Creates the materializer.
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

materialize({required GridAssetResolution resolution, required String targetRoot, required String sourceRef, List<String> subtrees = const [], bool dryRun = false}) → Future<OverlayMaterializeReport>
The async counterpart of materializeSync — for a caller that CAN await (a Flutter UI, the assets install Command). Every underlying op is synchronous dart:io, so this only shapes the call as a Future; see materializeSync for the whole behavior contract.
materializeSync({required GridAssetResolution resolution, required String targetRoot, required String sourceRef, List<String> subtrees = const [], bool dryRun = false}) → OverlayMaterializeReport
The synchronous core. Writes exactly resolution's selected artifacts (scoped by subtrees) onto targetRoot, rendering each against GridAssetResolution.renderArguments and STAMPING it with sourceRef.
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