FileDiff class
Represents differences of 2 Files in memory
- Available extensions
Constructors
-
FileDiff.new({required File thisFile, required String thisName, required File otherFile, required String otherName, required Map<
int, FileLineDiff> linesDiff, required DiffType diffType})
Properties
-
diffCount
→ Map<
DiffType, int> -
Available on FileDiff, provided by the FileDiffPrint extension
Groups and counts differences for each line in a fileno setter - diffType ↔ DiffType
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
linesDiff
↔ Map<
int, FileLineDiff> -
getter/setter pair
- otherFile ↔ File
-
getter/setter pair
- otherName ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thisFile ↔ File
-
getter/setter pair
- thisName ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printDiff(
) → void -
Available on FileDiff, provided by the FileDiffPrint extension
Print a FileDiff -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited