PageConfig class
Configuration model for page generation.
This class encapsulates all the parameters needed for generating a new page within a feature module, including paths, names, and other configuration data.
Constructors
- PageConfig({required String appsName, required String pathApps, required String featureName, required String pageName, required String pathFeature, required String pathPage, required String className, required String methodName})
- Creates a new PageConfig instance.
- PageConfig.fromArguments(ArgResults? argResults)
-
Creates a PageConfig from command arguments.
factory
Properties
- appsName → String
-
The name of the apps module (if applicable).
final
- className → String
-
The class name in PascalCase.
final
- featureName → String
-
The name of the feature module.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodName → String
-
The method name in camelCase.
final
- pageName → String
-
The name of the page being created.
final
- pathApps → String
-
The path to the apps module.
final
- pathFeature → String
-
The path to the feature module.
final
- pathPage → String
-
The path where the page will be created.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited