toString method
toString.
when extracts is activated, prints out all the extracts for the plan, otherwise prints plan and journal.
Implementation
@override
String toString({bool extracts = false}) {
String result = "";
result += kpl.toString() + "\n";
result += jrl.toString();
if (extracts) {
result += "\n";
result += kpl.toString(extracts: true) + "\n";
}
return result;
}