Structure class

You able to create a your own structure with this class Just create a new instance an pass it to Generator

Constructors

Structure({String pagesPath: 'lib/pages/', String widgetsPath: 'lib/widgets/', String modelsPath: 'lib/models/', String repositoriesPath: 'lib/repositories/', String blocsPath: 'lib/blocs/'})

Properties

blocsPath String
Path of the blocs dir for example: 'lib/blocs/'
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
modelsPath String
Path of the models dir for example: 'lib/models/'
read / write
pagesPath String
Path of the pages dir for example: 'lib/pages/'
read / write
repositoriesPath String
Path of the repositories dir for example: 'lib/repositories/'
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
widgetsPath String
Path of the widgets dir for example: 'lib/widgets/'
read / write

Methods

getPathByKey(String key) String
Get file paths with key such as: page, widget, repository, model and more...
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, String>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

getPathWithName(String firstPath, String secondPath, {bool createWithWrappedFolder: false}) String
replaceAsExpected({String path, String replaceChar}) String