DiffOp constructor

const DiffOp(
  1. DiffOpKind kind,
  2. String text
)

Creates an edit operation of the given kind carrying its segment text. Audited: 2026-06-12 11:26 EDT

Implementation

const DiffOp(DiffOpKind kind, String text) : _kind = kind, _text = text;