copy_annotation_gen 1.0.1 copy "copy_annotation_gen: ^1.0.1" to clipboard
copy_annotation_gen: ^1.0.1 copied to clipboard

Generator for copy_annotation package

Pub Package

Generate copy extension for class that annotated with @copy from copy_annotation.

Installation #

dev_dependencies:
  ...
  build_runner: ^latest_version
  copy_annotation_gen: ^latest_version

Usage #

part 'employee.g.dart'

@copy
class Employee {
  final int id;
  final String name;

  Employee({required this.id,required this.name})

}

and run

flutter pub run build_runner build --delete-conflicting-outputs
1
likes
80
pub points
0%
popularity

Publisher

unverified uploader

Generator for copy_annotation package

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, build, copy_annotation, flutter, source_gen

More

Packages that depend on copy_annotation_gen