map_to_list 0.0.1
map_to_list: ^0.0.1 copied to clipboard
Extension on List to directly map a list, without calling toList.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add map_to_listWith Flutter:
$ flutter pub add map_to_listThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
map_to_list: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:map_to_list/map_to_list.dart';