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

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);
}