Diff class

Class representing one diff operation.

Constructors

Diff(int operation, String text)
Constructor. Initializes the diff with the provided values.

Properties

hashCode int
The hash code for this object.
no setteroverride
operation int
One of: DIFF_INSERT, DIFF_DELETE or DIFF_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
toString() String
Display a human-readable version of this Diff.
override

Operators

operator ==(Object other) bool
Is this Diff equivalent to another Diff?
override