DiffHunk constructor

const DiffHunk({
  1. required int oldStart,
  2. required int oldCount,
  3. required int newStart,
  4. required int newCount,
  5. required List<DiffLine> lines,
  6. String section = '',
})

A hunk with its line ranges in the old and new files.

Implementation

const DiffHunk({
  required this.oldStart,
  required this.oldCount,
  required this.newStart,
  required this.newCount,
  required this.lines,
  this.section = '',
});