data_class_annotation_generator 0.1.9 copy "data_class_annotation_generator: ^0.1.9" to clipboard
data_class_annotation_generator: ^0.1.9 copied to clipboard

Automatically generate equals, hashCode, toString and copyWith methods for @dataClass annotated classes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add data_class_annotation_generator

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

dependencies:
  data_class_annotation_generator: ^0.1.9

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

Import it

Now in your Dart code, you can use:

import 'package:data_class_annotation_generator/builder.dart';
9
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Automatically generate equals, hashCode, toString and copyWith methods for @dataClass annotated classes.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

analyzer, build, build_config, code_builder, data_class_annotation, meta, source_gen

More

Packages that depend on data_class_annotation_generator