Skip to content

Commit

Permalink
one-more
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins committed Aug 28, 2024
1 parent 925ff05 commit d428155
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/src/collection/multimap.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ abstract class Multimap<K, V> {

/// Constructs a new list-backed multimap.
///
/// For each element `e` of [iterable], adds an association from [key] to
/// [value]. [key] and [value] each default to the identity function.
/// For each element `e` of [iterable], adds an association from `key(e)` to
/// `value(e)`. [key] and [value] each default to the identity function.
factory Multimap.fromIterable(Iterable iterable,
{K Function(dynamic)? key,
V Function(dynamic)? value}) = ListMultimap<K, V>.fromIterable;
Expand Down Expand Up @@ -246,8 +246,8 @@ class ListMultimap<K, V> extends _BaseMultimap<K, V, List<V>> {

/// Constructs a new list-backed multimap.
///
/// For each element `e` of [iterable], adds an association from [key] to
/// [value]. [key] and [value] each default to the identity function.
/// For each element `e` of [iterable], adds an association from `key(e)` to
/// `value(e)`. [key] and [value] each default to the identity function.
ListMultimap.fromIterable(super.iterable, {super.key, super.value})
: super.fromIterable();

Expand Down Expand Up @@ -289,8 +289,8 @@ class SetMultimap<K, V> extends _BaseMultimap<K, V, Set<V>> {

/// Constructs a new set-backed multimap.
///
/// For each element `e` of [iterable], adds an association from [key] to
/// [value]. [key] and [value] each default to the identity function.
/// For each element `e` of [iterable], adds an association from `key(e)` to
/// `value(e)`. [key] and [value] each default to the identity function.
SetMultimap.fromIterable(super.iterable, {super.key, super.value})
: super.fromIterable();

Expand Down

0 comments on commit d428155

Please sign in to comment.