MarksInPlaceResult class

The outcome of acceptMarksInPlace.

Constructors

MarksInPlaceResult({required String text, required int applied, required int malformed, required int changedValues, required List<String> differences, required int differenceCount, required Map<String, Object?> marksLeft, String? sectionLines})
Binds the rewritten text and the figures of the run.
const

Properties

applied → int
How many marks the runtime's acceptAllMarks applied on the decoded document (the reference the rewrite is checked against).
final
changedValues → int
How many values the in-place rewrite changed.
final
differenceCount → int
How many values the rewrite and the reference disagree on.
final
differences → List<String>
The values where the rewrite and the reference disagree, each a line naming the value and the two texts (at most ten listed; differenceCount counts all).
final
hashCode → int
The hash code for this object.
no setterinherited
malformed → int
How many marks the runtime reported malformed.
final
marksLeft → Map<String, Object?>
The counts of the review annotations the rewritten document still holds.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sectionLines → String?
With under: the 1-based line range of the section, from-to.
final
text → String
The YAML with the marks accepted.
final
verified → bool
Whether the rewrite may be written: every value agrees.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited