applyWithCommand method

Future<void> applyWithCommand({
  1. RenameCommand? command,
  2. String? value,
})

Applies the rename command to all platform file editors.

Parameters:

  • command: The rename command to apply.
  • value: The value to set.

Implementation

Future<void> applyWithCommand({
  RenameCommand? command,
  String? value,
}) async {
  if (command == null) {
    throw ArgumentError('Command cannot be null');
  }
  await _handleCommand(command, value);
}