toString method
Display a human-readable version of this Diff.
Returns a text version.
Implementation
String toString() {
String prettyText = this.text.replaceAll('\n', '\u00b6');
return 'Diff(${this.operation},"$prettyText")';
}
Display a human-readable version of this Diff.
Returns a text version.
String toString() {
String prettyText = this.text.replaceAll('\n', '\u00b6');
return 'Diff(${this.operation},"$prettyText")';
}