FolderGenerator class

A class that generates the necessary folders for a project.

Implementers

Constructors

FolderGenerator({String libDirectory = 'lib', String assetsDirectory = 'assets'})
Constructs a FolderGenerator instance.

Properties

assetsDirectory String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
libDirectory String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createFiles(String parentDirectory, String fileNames, String content) → void
createSubDirectories(String parentDirectory, List<String> subDirectoryNames) → void
Creates subdirectories within the specified parent directory.
generate() → void
Generates the required folders.
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

Static Methods

writeInFile(String content, String parentDirectory, String fileNames) → void