Description
From @sgrekhov on June 21, 2016 10:45
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 #1173
Copied from original issue: dart-lang/sdk#26736