toString method
Returns a string representation of the operation. Formats the entries in a human-readable format, listing each attribute.
Implementation
@override
String toString() {
String result = "";
final DateFormat formatter = DateFormat('dd-MM-yyyy');
for (int i = 0; i < cplus.length; i++) {
final String formatted = formatter.format(datum[i]);
//var f = NumberFormat.currency(symbol: cur2sym(cur[i]));
// "$formatted ${kminus.printname()} ${kplus.printname()} ${sprintf("%-49s", [ desc ])} ${sprintf("%12s", [f.format(valAsd)])}";
result +=
"${name},${formatted},+:${cplus[i]},-:${cminus[i]},${desc[i]},${cur[i]},${valuta[i]}, ${mod[i]}\n";
}
return result;
}