constrain 0.2.8 copy "constrain: ^0.2.8" to clipboard
constrain: ^0.2.8 copied to clipboard

Dart 1 only

Object Constraints for Dart

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add constrain

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

dependencies:
  constrain: ^0.2.8

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:constrain/constrain.dart';
0
likes
10
pub points
5%
popularity

Publisher

unverified uploader

Object Constraints for Dart

Homepage

License

BSD-2-Clause-Views (license)

Dependencies

collection, matcher, option, quiver

More

Packages that depend on constrain