DiffOp constructor

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

Creates an edit operation of the given kind carrying its segment text.

Implementation

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