nitro_annotations 0.4.0
nitro_annotations: ^0.4.0 copied to clipboard
Annotations package for Nitro Modules (Nitrogen). Provides the @NitroModule, @HybridRecord, and other annotations used by the nitro_generator.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add nitro_annotationsWith Flutter:
$ flutter pub add nitro_annotationsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
nitro_annotations: ^0.4.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:nitro_annotations/nitro_annotations.dart';