GenerateFileHelper class
Constructors
- GenerateFileHelper({required String className, required String projectName, String? parentDir})
Properties
- className ↔ String
-
getter/setter pair
- currentPath ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- libraryPath ↔ String
-
getter/setter pair
- parentDir ↔ String?
-
getter/setter pair
- projectName ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- testPath ↔ String
-
getter/setter pair
Methods
-
generateLib(
{required String template, required String fileName, List< String> dirNames = const [], bool rewrite = false, bool flutter = true, bool shouldExport = true}) → String -
generateLibDir(
{required String name, List< String> dirNames = const []}) → String -
generateTest(
{required String template, required String fileName, List< String> dirNames = const [], bool rewrite = false, bool flutter = true}) → String -
generateTestDir(
{required String name, List< String> dirNames = const []}) → String -
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