Diff class
Class representing one diff operation.
Constructors
Properties
- hashCode → int
-
Generate a uniquely identifiable hashcode for this Diff.
Returns numeric hashcode.
no setteroverride
- operation ↔ Operation
-
One of: Operation.insert, Operation.delete or Operation.equal.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text ↔ String
-
The text associated with this diff operation.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toGnuString(
) → String - Display a human-readable version of this Diff. Returns a text version.
-
toJson(
) → List -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
Is this Diff equivalent to another Diff?
other
is another Diff to compare against. Returns true or false.override