BrickGenerator class

Generates files from module-provided mason bricks.

Inheritance

Constructors

BrickGenerator.new(ModuleDependencyResolver moduleResolver)
Creates a BrickGenerator that uses the provided moduleResolver.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
moduleResolver ModuleDependencyResolver
Resolves module dependencies and dependents during brick generation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generate(List<IModuleCodeContributor> modules, Logger logger, Map<String, dynamic> coreVars, String generateTo) Future<void>
Generates files based on provided modules and context.
override
mapMergeStrategy(FileMergeStrategy strategy) → FileConflictResolution
Maps a high-level FileMergeStrategy to a mason FileConflictResolution.
inherited
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