asList method

List<List> asList({
  1. bool all = false,
})

return this as a list used for exporting the data .

Implementation

List<List<dynamic>> asList({bool all = false}) {
  List<List<dynamic>> asList = [
    ["KPL"],
    ["kto", "dsc", "cur", "budget", "valuta"]
  ];
  konten.forEach((key, value) {
    value.asList(asList: asList, all: all);
  });
  return asList;
}