auto_mappr 1.1.0 copy "auto_mappr: ^1.1.0" to clipboard
auto_mappr: ^1.1.0 copied to clipboard

outdated

Code generation for mapping between different objects with ease.

example/lib/main.dart

import 'package:auto_mappr_example/equatable.dart';

void main() {
  final dto = UserDto(id: 123, name: 'Peter', age: 42);
  final mappr = Mappr();
  final output = mappr.convert<UserDto, User>(dto);

  // ignore: avoid_print, for example purposes
  print(output);
}
121
likes
0
points
6.37k
downloads

Publisher

verified publishernetglade.cz

Weekly Downloads

Code generation for mapping between different objects with ease.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, auto_mappr_annotation, build, code_builder, collection, equatable, path, source_gen

More

Packages that depend on auto_mappr