sortedmap 0.5.0 copy "sortedmap: ^0.5.0" to clipboard
sortedmap: ^0.5.0 copied to clipboard

outdated

A map of objects which can be sorted and filtered on both their key and value

example/main.dart

import 'package:sortedmap/sortedmap.dart';

void main() {
  var map = SortedMap(Ordering.byValue());

  map.addAll({'a': 3, 'b': 2, 'c': 4, 'd': 1});

  print(map.lastKeyBefore('c')); // a
  print(map.firstKeyAfter('d')); // b
}
42
likes
0
pub points
90%
popularity

Publisher

verified publisherappsup.be

A map of objects which can be sorted and filtered on both their key and value

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

quiver

More

Packages that depend on sortedmap