toString method

  1. @override
String toString({
  1. bool extracts = false,
})
override

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;
}