shelf_dto 0.1.3
shelf_dto: ^0.1.3 copied to clipboard
A simple dto builder for dart, use annotations and code gen to create simple and complete DTO for your project.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add shelf_dtoWith Flutter:
$ flutter pub add shelf_dtoThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
shelf_dto: ^0.1.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:shelf_dto/shelf_dto.dart';