patch_toText method
Take a list of patches and return a textual representation.
patches
is a List of Patch objects.
Returns a text representation of patches.
Implementation
String patch_toText(List<Patch> patches) {
final text = StringBuffer();
text.writeAll(patches);
return text.toString();
}