Plugins for Dart applications.
Add this to your package's pubspec.yaml file:
dependencies: extensions: ">=0.2.0 <0.3.0"
You can install packages from the command line:
$ pub get
Alternatively, your editor might support pub. Check the docs for your editor to learn more.
Now in your Dart code, you can use: