mongo_document_annotation 1.6.3
mongo_document_annotation: ^1.6.3 copied to clipboard
Generate MongoDB CRUD code in Dart using @MongoDocument annotations - ideal for clean, scalable backend models.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mongo_document_annotationWith Flutter:
$ flutter pub add mongo_document_annotationThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
mongo_document_annotation: ^1.6.3Alternatively, 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:mongo_document_annotation/mongo_document_annotation.dart';