List getCurrentState([int from = -1 ])

Source

List getCurrentState([int from = -1]) {
  List<LiveTableRow> rw = rows;
  if (from != -1) {
    rw = rw.sublist(from);
  }
  return rw.map((x) => x.values).toList();
}