AFFileSourceTemplate class abstract

Root class for source templates representing an entire file.

Inheritance
Implementers

Constructors

AFFileSourceTemplate({required List<String> templateFolder, required String templateFileId, AFSourceTemplateInsertions? embeddedInsertions})
const

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
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
insertStandardAdditionalMethods → AFSourceTemplateInsertion
no setterinherited
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 setterinherited
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
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

Constants

templatePathCore → const String
templatePathExample → const String