dart-sdk/sdk/lib/collection
Nicholas Shahan 0c4147675f [collection] Update example code in dartdoc
Added 'final' to the example class `EntryItem` that extends
`LinkedListEntry` from 'dart:collection'.

The code as written now produces the error:

```
The type 'EntryItem' must be 'base', 'final' or 'sealed' because the
supertype 'LinkedListEntry' is 'base'.
```

Also applied dartfmt to get new line break locations.

Change-Id: I78e76c7d9d4e6cd29c2e229ab1054efad21c6248
CoreLibraryReviewExempt: Comments only
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/343688
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2023-12-28 23:37:27 +00:00
..
collection.dart
collection_sources.gni
collections.dart
hash_map.dart Format containsValue() description in hash_map.dart 2023-10-02 10:25:59 +00:00
hash_set.dart
iterable.dart
iterator.dart
linked_hash_map.dart
linked_hash_set.dart
linked_list.dart [collection] Update example code in dartdoc 2023-12-28 23:37:27 +00:00
list.dart
maps.dart
queue.dart
set.dart
splay_tree.dart Unify splay tree iterators and interables constructor argument names. 2023-10-19 14:07:37 +00:00