Last updated:
0 purchases
mapped list
Use Map<int, T> instead of List
Usage #
import 'package:mapped_list/mapped_list.dart';
Map<int, String> mappedList = {};
mappedList.ladd('a');
mappedList.ladd('b');
mappedList.ladd('c');
mappedList.lremove('b');
mappedList.lremoveAt(0);
mappedList.linsert(0, 'd');
print(mappedList); // {0: d, 1: c}
print(mappedList.llist()); // [d,c]
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.