DiffPairRow class final
One row in DiffMode.split. A context line is on both sides; a removed line without an added partner, or the reverse, leaves one side empty.
Constructors
- DiffPairRow(int file, DiffLine? left, DiffLine? right)
-
leftandrightside by side.const
Properties
- file → int
-
The index of the row's file in the list given to layoutDiff.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- left → DiffLine?
-
The old side: a removed or context line, or
nullwhen empty.final - right → DiffLine?
-
The new side: an added or context line, or
nullwhen empty.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited