ConstructGenerator class

Mixed-in types

Constructors

ConstructGenerator({required Mode mode, required String? flavor, required RoutesHandler routesHandler, required List<ConstructMaker> makers, required Logger logger, required FileSystem fs, required String rootPath, DartDefine? dartDefines, GenerateConstructType generateConstructType = GenerateConstructType.constructs})
ConstructGenerator.debug({required String? flavor, required RoutesHandler routesHandler, required List<ConstructMaker> makers, required Logger logger, required FileSystem fs, required String rootPath, DartDefine? dartDefines, GenerateConstructType generateConstructType = GenerateConstructType.constructs})
ConstructGenerator.profile({required String? flavor, required RoutesHandler routesHandler, required List<ConstructMaker> makers, required Logger logger, required FileSystem fs, required String rootPath, DartDefine? dartDefines, GenerateConstructType generateConstructType = GenerateConstructType.constructs})
ConstructGenerator.release({required String? flavor, required RoutesHandler routesHandler, required List<ConstructMaker> makers, required Logger logger, required FileSystem fs, required String rootPath, DartDefine? dartDefines, GenerateConstructType generateConstructType = GenerateConstructType.constructs})

Properties

buildContext → RevaliBuildContext
no setter
context → RevaliContext
no setter
dartDefines DartDefine?
final
flavor String?
final
fs → FileSystem
final
generateConstructType → GenerateConstructType
final
hashCode int
The hash code for this object.
no setterinherited
logger → Logger
final
makers List<ConstructMaker>
final
mode → Mode
final
revaliConfig Future<RevaliYaml>
no setter
root Future<Directory>
no setter
routesHandler RoutesHandler
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clean({GenerateConstructType type = GenerateConstructType.constructs}) Future<void>
constructFromMaker<T extends Construct<RevaliDirectory<AnyFile>>>(ConstructMaker maker) Future<T?>
generate([Log? progress]) Future<MetaServer?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rootOf(String path) Future<Directory>
inherited
toString() String
A string representation of this object.
inherited

Operators

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