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

Code generation for mapping between different objects with ease.

example/lib/example.dart

import 'package:auto_mappr_example/mappr.dart';

void main() {
  final mappr = Mappr();

  final dto = UserDto(id: 1, xname: 'user');
  final user = mappr.convert<UserDto, User>(dto);

  // ignore: avoid_print, for example purposes
  print(user);
}