DiffHunk constructor

const DiffHunk({
  1. required int oldStart,
  2. required int oldCount,
  3. required int newStart,
  4. required int newCount,
  5. String? sectionHeading,
  6. required List<String> lines,
  7. required List<LineRange> addedOrModifiedRanges,
})

Implementation

const DiffHunk({
  required this.oldStart,
  required this.oldCount,
  required this.newStart,
  required this.newCount,
  this.sectionHeading,
  required this.lines,
  required this.addedOrModifiedRanges,
});