DartDiff class

Pure Dart unified diff generator — no external diff command needed. Generates diffs with portable a/ b/ prefixes.

Constructors

DartDiff()

Properties

hashCode → int
The hash code for this object.
no setterinherited
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.
inherited

Operators

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

Static Methods

diffDirectories(String originalPath, String modifiedPath) → String
Generates a unified diff between two directories. Returns empty string if no differences found.