UnmodifiableMapView documentation is incomplete #28918
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
area-documentation
Prefer using 'type-documentation' and a specific area label.
library-core
See https://api.dartlang.org/stable/1.22.1/dart-collection/UnmodifiableMapView/addAll.html, etc.
UnmodifiableMapView API Spec reads about addAll method:
However, actually UnmodifiableMapBase objects cannot be modified and addAll method throws UnsupportedError("Cannot modify unmodifiable map").
The same is true about clear, putIfAbsent, remove methods.
The text was updated successfully, but these errors were encountered: