dart_class_mapper 1.2.1 copy "dart_class_mapper: ^1.2.1" to clipboard
dart_class_mapper: ^1.2.1 copied to clipboard

Lightweight library for mapping classes in Dart. Ideal for converting between entities and DTOs objects with a simple and reusable API.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_class_mapper

With Flutter:

 $ flutter pub add dart_class_mapper

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_class_mapper: ^1.2.1

Alternatively, 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:dart_class_mapper/dart_class_mapper.dart';
1
likes
155
points
47
downloads

Publisher

verified publisherlucasmateusdev.com.br

Weekly Downloads

Lightweight library for mapping classes in Dart. Ideal for converting between entities and DTOs objects with a simple and reusable API.

Repository (GitHub)
View/report issues

Topics

#class-mapper #mappings #automapper #object-transform #mapper

Documentation

API reference

License

MIT (license)

More

Packages that depend on dart_class_mapper