refactor static method

void refactor(
  1. String path
)

Reports successful refactoring operation.

Displays a green "refactor" message followed by the path.

Parameters:

  • path: Path to the refactored file or directory

Example:

StatusHelper.refactor('./lib/models/user.dart');
// Output:
// refactor ./lib/models/user.dart

Implementation

static void refactor(String path) {
  printMessage('${green('refactor')} $path');
}