Provide a base class for wrapping lists #8778
Labels
area-library
closed-obsolete
Closed as the reported issue is no longer relevant
core-n
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
It's quite common to need to wrap a List object with another list to either intercept certain calls or to coerce the element types. It would be nice if there was a standard base class for allowing this.
I recently had to create one in dart:html to expose a List<Element> as List<TableRowElement> without copying the list, but it seems to be more generally useful.
The text was updated successfully, but these errors were encountered: