auto_mappr 1.0.1
auto_mappr: ^1.0.1 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);
}