auto_mappr_annotation 2.2.0 copy "auto_mappr_annotation: ^2.2.0" to clipboard
auto_mappr_annotation: ^2.2.0 copied to clipboard

Annotations for the auto_mappr code-generator of mapping between objects with ease.

example/lib/main.dart

import 'package:auto_mappr_annotation/auto_mappr_annotation.dart';

// part 'main.auto_mappr.dart';

@AutoMappr([
  MapType<UserDto, User>(),
])
class Mappr {} // extends $Mappr {}

class User {
  final int age;
  final String username;

  const User({
    required this.age,
    required this.username,
  });
}

class UserDto {
  final int age;
  final String username;

  const UserDto(this.age, this.username);
}

void main() {}
15
likes
150
points
9.51k
downloads

Publisher

verified publishernetglade.cz

Weekly Downloads

Annotations for the auto_mappr code-generator of mapping between objects with ease.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on auto_mappr_annotation