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

Collection of soft references. 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.2.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';
2
likes
150
points
233
downloads

Publisher

verified publisheraymtools.com

Weekly Downloads

Collection of soft references. Weak reference effect achieved through WeakReference and Finalizer.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on weak_collections