Open
Description
It would be great to have BuiltList
to support a custom backing store for specialied lists, like the ones in dart:typed_data
.
I'm thinking of passing a factory function to ListBuilder
that creates the backing store before copying the values over. Something like typedef CreateListFunction<E> = List<E> Function();