drails_commons 0.0.8 drails_commons: ^0.0.8 copied to clipboard
Package that contains some utilities classes, methods, and global constants shared by drails, drails_di, and dson.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add drails_commons
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
drails_commons: ^0.0.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:drails_commons/drails_commons.dart';