weak_collections 1.5.0 copy "weak_collections: ^1.5.0" to clipboard
weak_collections: ^1.5.0 copied to clipboard

Collection of weak references. WeakHashMap, WeakHashSet, WeakQueue. Weak reference effect achieved through WeakReference and Finalizer.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add weak_collections

With Flutter:

 $ flutter pub add weak_collections

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  weak_collections: ^1.5.0

Alternatively, 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:weak_collections/weak_collections.dart';
4
likes
160
points
749
downloads

Publisher

verified publisheraymtools.com

Weekly Downloads

Collection of weak references. WeakHashMap, WeakHashSet, WeakQueue. Weak reference effect achieved through WeakReference and Finalizer.

Repository (GitHub)
View/report issues

Topics

#weak #weakset #weakhashmap #weakhashset #weakqueue

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on weak_collections