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

Collection of weak references. WeakHashMap, WeakLinkedHashMap, WeakHashSet, WeakLinkedHashSet, 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.6.1

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';
6
likes
160
points
185
downloads

Documentation

API reference

Publisher

verified publisheraymtools.com

Weekly Downloads

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

Repository (GitHub)
View/report issues

Topics

#weak #weak-hashmap #weak-hashset #weak-queue #weak-linked-hashmap

License

MIT (license)

Dependencies

meta

More

Packages that depend on weak_collections