asList method
return a list abstraction model of this object . Converts the operation into a list format, suitable for CSV or other structured outputs.
Implementation
void asList(List<List> data) {
final DateFormat formatter = DateFormat('yyyy-MM-dd');
for (int i = 0; i < cplus.length; i++) {
final String date = formatter.format(datum[i]);
data.add([
name,
date,
cplus[i],
cminus[i],
"${desc[i]}",
cur[i],
valuta[i],
mod[i]
]);
}
}