DiffLine class final
One line of a hunk.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- kind → DiffLineKind
-
Whether the line was kept, added or removed.
final
- newNumber → int?
-
1-based line number in the new file.
nullfor removed lines.final - noNewlineAtEnd → bool
-
Whether this is the last line of its file and has no line break, as
marked by
\ No newline at end of file.final - oldNumber → int?
-
1-based line number in the old file.
nullfor added lines.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceLineEnding → String
-
Original source terminator, independent of patch transport line endings.
noNewlineAtEnd takes precedence for an unterminated final source line.
final
- text → String
-
The line's text, without the leading
+,-or space.final
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.
override