Directory class abstract

A directory is a collection of files that can be copied, altered, and/or generated into a new project.

Inheritance
Mixed-in types
Implementers

Constructors

Directory(DirectoryConfig config)
A directory is a collection of files that can be copied, altered, and/or generated into a new project.

Properties

combine List<Iterable<(String, String)>>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
include Include?
no setter
includeConfig IncludeConfig?
finalinherited
name Name?
no setter
nameConfig NameConfig?
finalinherited
path String
the path to the directory
no setter
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
variables Iterable<Variable>
retrieves all variables from the VarsMixin.varsMap
no setterinherited
variablesToProcess List
no setterinherited
vars Iterable<String>
no setterinherited
varsMap Set<(String, String)>
no setterinherited

Methods

apply(String path, {required String pathWithoutSourceDir}) String
applies the path with any configured parts from path and formats them with mustache
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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