SimpleQueryT class

Any class that ends in "T" is a source template used in code generation.

Inheritance
Implementers

Constructors

SimpleQueryT({required String templateFileId, required List<String> templateFolder, Object? insertExtraImports, Object? insertStartImpl, Object? insertFinishImpl, Object? insertAdditionalMethods, Object? insertSuperParams})
SimpleQueryT.core()
factory
SimpleQueryT.startupEmpty()
factory
SimpleQueryT.withMemberVariables({required String templateFileId, required List<String> templateFolder, Object? insertExtraImports, Object? insertStartImpl, Object? insertFinishImpl, Object? insertAdditionalMethods, Object? insertSuperParams, required Object insertConstructorParams, required Object insertMemberVariables})

Properties

embeddedInsertions AFSourceTemplateInsertions?
finalinherited
extraImports List<String>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
insertAdditionalMethods AFSourceTemplateInsertion
no setterinherited
insertAppNamespace AFSourceTemplateInsertion
no setterinherited
insertAppNamespaceUpper AFSourceTemplateInsertion
no setterinherited
insertConstructorParams AFSourceTemplateInsertion
no setterinherited
insertCopyWithConstructorCall AFSourceTemplateInsertion
no setterinherited
insertCopyWithParams AFSourceTemplateInsertion
no setterinherited
insertCreateParams AFSourceTemplateInsertion
no setterinherited
insertCreateParamsCall AFSourceTemplateInsertion
no setterinherited
insertExtraImports AFSourceTemplateInsertion
no setterinherited
insertFileHeader AFSourceTemplateInsertion
no setterinherited
insertFinishImpl AFSourceTemplateInsertion
no setter
insertLibKind AFSourceTemplateInsertion
no setterinherited
insertMainParentType AFSourceTemplateInsertion
no setterinherited
insertMainType AFSourceTemplateInsertion
no setterinherited
insertMainTypeNoRoot AFSourceTemplateInsertion
no setterinherited
insertMemberVariableImports AFSourceTemplateInsertion
no setterinherited
insertMemberVariables AFSourceTemplateInsertion
no setterinherited
insertPackageName AFSourceTemplateInsertion
no setterinherited
insertPackagePath AFSourceTemplateInsertion
no setterinherited
insertProjectStyle AFSourceTemplateInsertion
no setterinherited
insertQueryParentType AFSourceTemplateInsertion
no setter
insertQueryType AFSourceTemplateInsertion
no setter
insertResultType AFSourceTemplateInsertion
no setter
insertStandardAdditionalMethods AFSourceTemplateInsertion
no setterinherited
insertStartImpl AFSourceTemplateInsertion
no setter
insertStateType AFSourceTemplateInsertion
no setterinherited
insertSuperParams AFSourceTemplateInsertion
no setterinherited
isCode bool
no setterinherited
isComment bool
no setterinherited
role AFSourceTemplateRole
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
template String
no setteroverride
templateFileId String
finalinherited
templateFolder List<String>
finalinherited
templateId String
no setterinherited
templatePath List<String>
no setterinherited

Methods

containsInsertionPoint(String insertionPoint) bool
inherited
createGeneratedTemplate(AFCommandContext context) AFGeneratedFile
inherited
createLinesWithOptions(AFCommandContext context, List<String> options) List<String>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBuffer(AFCommandContext context, {Map<AFSourceTemplateInsertion, Object>? insertions}) AFCodeBuffer
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

augmentInsertions({required AFSourceTemplateInsertions parent, required Object queryType, required Object queryParentType, required String resultType, required String resultTypeCore, Object memberVariables = AFSourceTemplate.empty, Object constructorParams = AFSourceTemplate.empty, Object startImpl = AFSourceTemplate.empty, Object finishImpl = AFSourceTemplate.empty, Object additionalMethods = AFSourceTemplate.empty, Object memberVariableImports = AFSourceTemplate.empty}) AFSourceTemplateInsertions
findCoreResultType(String resultType) String