auto_mappr 1.1.2 auto_mappr: ^1.1.2 copied to clipboard
Code generation for mapping between different objects with ease.
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);
}