omni_mapper 0.5.0
omni_mapper: ^0.5.0 copied to clipboard
Annotations for the OmniMapper code generator. Automatically generates type-safe object-to-object mapping code between DTOs, Models, and Entities.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add omni_mapperThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
omni_mapper: ^0.5.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:omni_mapper/omni_mapper.dart';