google / built_collection.dart

Immutable Dart collections via the builder pattern.
https://pub.dev/packages/built_collection
BSD 3-Clause "New" or "Revised" License
275 stars 52 forks source link

Why is the return operator[] on BuiltSetMultimap nullable? #253

Open Pacane opened 2 years ago

Pacane commented 2 years ago

It seems it can never return null. I imagine the API was based on SetMultiMap from package:collection before, but it seems that the return type of that one is not nullable.