list_accessors

Last updated:

0 purchases

list_accessors Image
list_accessors Images
Add to Cart

Description:

list accessors

Dart Lists have a first and a last getter and setter, so you can easily
do stuff like this:
var theList = ['banana'];
theList.first = 'apple';
print(theList.last);
copied to clipboard
But why stop there? #
Wouldn't it be cool to also be able to call theList.second or theList.thirdLast?
Or even theList.eigth?
Wonder no more! By harnessing the power of extension methods, this package offers getters and setters for the first and last twenty items of a list!

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.