value property

dynamic get value

Returns value of this operation.

For insert operations this returns text, for delete and retain - length.

Implementation

dynamic get value => (key == Operation.insertKey) ? data : length;