FileLineDiff class

Represents differences of 2 lines in a File in memory

Available extensions

Constructors

FileLineDiff({required String thisPath, required String otherPath, required int thisLineNo, required int diffScore, required DiffType diffType})

Properties

diffScore int
getter/setter pair
diffType DiffType
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
otherPath String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thisLineNo int
getter/setter pair
thisPath String
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printDiff() → void

Available on FileLineDiff, provided by the FileLineDiffPrint extension

Print a FileLineDiff
toString() String
A string representation of this object.
override

Operators

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

Static Methods

calculateDiff({required File thisFile, required int thisLineNo, dynamic onThisLineDoesntExist()?, required File otherFile}) Future<FileLineDiff>