data_class_annotation_generator 0.1.7

Dart native

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

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  data_class_annotation_generator: ^0.1.7

2. Install it

You can install packages from the command line:

with pub:

$ pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:data_class_annotation_generator/builder.dart';
8
likes
70
pub points
27%
popularity

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

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

xatofr35@gmail.com

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