i_list 0.0.1 copy "i_list: ^0.0.1" to clipboard
i_list: ^0.0.1 copied to clipboard

A simple immutable list.

i_list #

A simple immutable list (dart). See lib/i_list.dart.

How to use #

    final list = ImmutableList([1, 2, 3, 4, 5]);
    final list2 = list.transform((it) {
      it.add(6);
      it.remove(1);
    });
    print(list); // [1, 2, 3, 4, 5]
    print(list2); // [2, 3, 4, 5, 6]

License #

The source code is licensed MIT. The website content is licensed CC BY 4.0,see LICENSE.

0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A simple immutable list.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

collection

More

Packages that depend on i_list