FileEditOutput constructor

const FileEditOutput({
  1. required bool success,
  2. required String message,
  3. String filePath = '',
  4. String oldString = '',
  5. String newString = '',
  6. String originalFile = '',
  7. bool userModified = false,
  8. bool replaceAll = false,
  9. int linesChanged = 0,
  10. String? backupPath,
  11. int occurrencesReplaced = 0,
  12. String? diff,
})

Implementation

const FileEditOutput({
  required this.success,
  required this.message,
  this.filePath = '',
  this.oldString = '',
  this.newString = '',
  this.originalFile = '',
  this.userModified = false,
  this.replaceAll = false,
  this.linesChanged = 0,
  this.backupPath,
  this.occurrencesReplaced = 0,
  this.diff,
});