List<T> truncate([int? length]) { if (length == null) return [...this]; return [...this.take(length)]; }