Rename class
Rename is responsible for renaming platform files. Attributes:
- platformFileEditors: Map of platforms to their respective file editors.
Constructors
-
Rename({required Map<
RenamePlatform, AbstractPlatformFileEditor> platformFileEditors}) - Creates a new instance of Rename.
-
Rename.fromPlatformNames({required List<
String> platformNames}) -
Creates a new instance of Rename from a list of platform names.
factory
-
Rename.fromTargets({required List<
RenamePlatform> targets}) -
Creates a new instance of Rename from a list of targets.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
platformFileEditors
→ Map<
RenamePlatform, AbstractPlatformFileEditor> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyWithCommand(
{RenameCommand? command, String? value}) → Future< void> - Applies the rename command to all platform file editors.
-
applyWithCommandName(
{String? commandName, String? value}) → Future< void> - Applies the rename command to all platform file editors.
-
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