Skip to content

Commit a869865

Browse files
committed
release-5-1-0
1 parent 858791d commit a869865

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 5.1.0 (unreleased)
3+
## 5.1.0
44

55
- Allow collections with nullable types, for example `BuiltList<T?>`.
66
- Allow key/value types to be `dynamic`. This can be useful occasionally, and

lib/src/list_multimap/built_list_multimap.dart

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,11 @@ abstract class BuiltListMultimap<K, V> {
3232
multimap.hasExactKeyAndValueTypes(K, V)) {
3333
return multimap as BuiltListMultimap<K, V>;
3434
} else if (multimap is Map) {
35-
return _BuiltListMultimap<K, V>.copy(
36-
multimap.keys, (k) => multimap[k]);
35+
return _BuiltListMultimap<K, V>.copy(multimap.keys, (k) => multimap[k]);
3736
} else if (multimap is BuiltListMultimap) {
38-
return _BuiltListMultimap<K, V>.copy(
39-
multimap.keys, (k) => multimap[k]);
37+
return _BuiltListMultimap<K, V>.copy(multimap.keys, (k) => multimap[k]);
4038
} else {
41-
return _BuiltListMultimap<K, V>.copy(
42-
multimap.keys, (k) => multimap[k]);
39+
return _BuiltListMultimap<K, V>.copy(multimap.keys, (k) => multimap[k]);
4340
}
4441
}
4542

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: built_collection
2-
version: 5.0.0
2+
version: 5.1.0
33
description: >
44
Immutable collections based on the SDK collections. Each SDK collection class
55
is split into a new immutable collection class and a corresponding mutable

0 commit comments

Comments
 (0)