LinuxPlatformFileEditor class

LinuxPlatformFileEditor is a class that extends AbstractPlatformFileEditor. It is responsible for editing Linux platform files.

Attributes:

Inheritance

Constructors

LinuxPlatformFileEditor({RenamePlatform platform = RenamePlatform.linux})
Creates an instance of LinuxPlatformFileEditor.

Properties

hashCode int
The hash code for this object.
no setterinherited
linuxAppCppPath String
getter/setter pair
linuxCMakeListsPath String
getter/setter pair
platform RenamePlatform
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAppName() Future<String?>
Fetches the app name from the Linux CMakeLists.txt file.
override
getBundleId() Future<String?>
Fetches the bundle ID from the Linux my_application.cc file.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFileAsLineByline({required String filePath}) Future<List<String?>>
Reads a file line by line. Parameters:
inherited
setAppName({required String appName}) Future<String?>
Sets the app name in the Linux CMakeLists.txt file.
override
setBundleId({required String bundleId}) Future<String?>
Sets the bundle ID in the Linux my_application.cc file.
override
toString() String
A string representation of this object.
inherited
writeFile({required String filePath, required String content}) Future<File>
Writes the provided content to a file at the specified filePath. Parameters:
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited