google / built_collection.dart

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

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

Open Pacane opened 3 years ago

Pacane commented 3 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.