UnmodifiableMapView class must implement toString() #16274
Labels
area-pkg
Used for miscellaneous pkg/ packages not associated with specific area- teams.
library-collection
This issue was originally filed by andrew.m...@gmail.com
UnmodifiableMapView must implement toString()
+++
class UnmodifiableMapView<K, V> extends DelegatingMap<K, V> {
String toString() => super.toString();
}
+++
And class 'DelegatingMap' also must implements 'toString()' based on '_baseMap'.
+++
class DelegatingMap<K, V> implements Map<K, V> {
Map<K, V> _base;
String toString() => _base.toString();
}
+++
The text was updated successfully, but these errors were encountered: