using 1.0.2 copy "using: ^1.0.2" to clipboard
using: ^1.0.2 copied to clipboard

This package provides a `Releasable` mixin to upgrade any class with automatic cleanup and finalization features, similar to C#'s `IDisposable` and Java's `AutoCloseable`. Extension methods enhance th [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add using

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

dependencies:
  using: ^1.0.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:using/using.dart';
0
likes
0
pub points
47%
popularity

Publisher

unverified uploader

This package provides a `Releasable` mixin to upgrade any class with automatic cleanup and finalization features, similar to C#'s `IDisposable` and Java's `AutoCloseable`. Extension methods enhance the development experience with constructs close to `using` in C# and `try-with-resource` in Java.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta

More

Packages that depend on using