static Data toData(Iterable<Log> logs) { Data data = new Data(); logs.forEach((log) => data.add(log._map)); return data; }