-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Please see https://api.dartlang.org/stable/1.16.0/dart-collection/UnmodifiableListView-class.html
Inheritance Object ListBase UnmodifiableListBase UnmodifiableListView
But UnmodifiableListBase
is not part of the Dart API. This has several consequences
First, I think, UnmodifiableListBase
shold be made internal _UnmodifiableListBase
Second, it shouldn't be shown in documentation. Otherwise documentation became wrong. For example, it shows operator []=
as inherited (it is really inherited from UnmodifiableListBase
, but documentation shows operator []=
as inherited from ListBase
(because UnmodifiableListBase
is not part of the API and has no documentation)). But operator []=
in ListBase
sets the value while operator []=
in UnmodifiableListView
throws UnsupportedError
Documentation issue regarding showing of internal interfaces is dart-lang/dartdoc#1173