GitFileDiff constructor

const GitFileDiff({
  1. String? oldPath,
  2. String? newPath,
  3. required List<DiffHunk> hunks,
  4. bool isNew = false,
  5. bool isDeleted = false,
  6. bool isRenamed = false,
})

Implementation

const GitFileDiff({
  this.oldPath,
  this.newPath,
  required this.hunks,
  this.isNew = false,
  this.isDeleted = false,
  this.isRenamed = false,
});