FileLineDiff class

Represents differences of 2 lines in a File in memory

Available extensions

Constructors

FileLineDiff.new({required String thisPath, required String thisName, required String otherPath, required String otherName, required int thisLineNo, required String? thisLine, required String? otherLine, required DiffType diffType})

Properties

diffType DiffType
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
otherLine String?
getter/setter pair
otherName String
getter/setter pair
otherPath String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thisLine String?
getter/setter pair
thisLineNo int
getter/setter pair
thisName String
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 String thisName, required int thisLineNo, dynamic onThisLineDoesntExist()?, required File otherFile, required String otherName}) Future<FileLineDiff>