IosPlatformFileEditor class
IosPlatformFileEditor is responsible for editing iOS platform files. Attributes:
- iosInfoPlistPath: Path to the iOS Info.plist file.
- iosProjectPbxprojPath: Path to the iOS project.pbxproj file.
- Inheritance
-
- Object
- AbstractPlatformFileEditor
- IosPlatformFileEditor
Constructors
- IosPlatformFileEditor({RenamePlatform platform = RenamePlatform.ios})
- Creates an instance of IosPlatformFileEditor.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- iosInfoPlistPath ↔ String
-
getter/setter pair
- iosProjectPbxprojPath ↔ 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 iOS Info.plist file.
override
-
getBundleId(
) → Future< String?> -
Fetches the bundle ID from the iOS project.pbxproj 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 iOS Info.plist file.
override
-
setBundleId(
{required String bundleId}) → Future< String?> -
Sets the bundle ID in the iOS project.pbxproj 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 specifiedfilePath
. Parameters:inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited