FileRepository class
A repository for file-related operations.
Constructors
- FileRepository()
- Constructs a FileRepository instance.
Properties
- androidAppBuildGradlePath ↔ String
-
getter/setter pair
- androidManifestPath ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iosInfoPlistPath ↔ String
-
getter/setter pair
- iosProjectPbxprojPath ↔ String
-
getter/setter pair
- logger ↔ Logger
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
changeManifestLabelToResource(
) → Future< void> - Changes the label attribute in AndroidManifest.xml to use a resource.
-
createLaunchJson(
) → Future< void> - Generates VS Code launch configurations based on environment settings.
-
generateEnvFile(
) → Future< void> - Generates a JSON ENV File For Dart Define
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readFileAsLineByline(
{required String filePath}) → Future< List< String?> ?> - Reads a file and returns its content as a list of lines.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateBuildGradle(
) → Future< void> - Updates the build.gradle file with flavor configurations.
-
writeFile(
{required String filePath, required String content}) → Future< File> - Writes content to a file.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited