disposed 1.0.1 copy "disposed: ^1.0.1" to clipboard
disposed: ^1.0.1 copied to clipboard

Automatically disposable wrappers for objects utilizing Finalizer. Auto closable StreamController is included!

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add disposed

With Flutter:

 $ flutter pub add disposed

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

dependencies:
  disposed: ^1.0.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:disposed/disposed.dart';
1
likes
150
pub points
1%
popularity

Publisher

unverified uploader

Automatically disposable wrappers for objects utilizing Finalizer. Auto closable StreamController is included!

Repository (GitHub)
View/report issues

Topics

#gc #disposable #streams

Documentation

API reference

License

ISC (LICENSE)

Dependencies

meta

More

Packages that depend on disposed