easy_copy_with_annotation 1.0.0 copy "easy_copy_with_annotation: ^1.0.0" to clipboard
easy_copy_with_annotation: ^1.0.0 copied to clipboard

Annotations for the easy_copy_with code generator. Add @CopyWith() to your Dart classes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add easy_copy_with_annotation

With Flutter:

 $ flutter pub add easy_copy_with_annotation

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  easy_copy_with_annotation: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:easy_copy_with_annotation/easy_copy_with_annotation.dart';
0
likes
160
points
371
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Annotations for the easy_copy_with code generator. Add @CopyWith() to your Dart classes.

Repository (GitHub)
View/report issues

Topics

#codegen #copy-with #code-generation #annotation

License

MIT (license)

More

Packages that depend on easy_copy_with_annotation