List<T> chop([int num = 1]) { final list = [...this]; if (list.isEmpty) return list; return list.sublist(0, list.length - num); }