Plugins for Dart applications.
Add this to your package's pubspec.yaml file:
dependencies: extensions: 0.2.0
If you're using the Dart Editor, choose:
Menu > Tools > Pub Install
Or if you want to install from the command line, run:
$ pub install
Now in your Dart code, you can use: