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

Docs for `asList` misleading #257

Open davidmorgan opened 2 years ago

davidmorgan commented 2 years ago

It says "This differs from toList where mutations are explicitly disallowed." ... whic needs 'where' replacing with 'in that' to be correct, or even better a total rewrite to be clear.

Same for other similar methods.