indexed_map 1.0.0
indexed_map: ^1.0.0 copied to clipboard
A high-performance hybrid data structure providing O(1) lookup by ID and ordered/indexed access, with comprehensive duplicate handling policies.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add indexed_mapWith Flutter:
$ flutter pub add indexed_mapThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
indexed_map: ^1.0.0Alternatively, 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:indexed_map/indexed_map.dart';