equatable_gen 1.1.1 copy "equatable_gen: ^1.1.1" to clipboard
equatable_gen: ^1.1.1 copied to clipboard

Automatically creates 'props' getters for classes using the equatable package.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add equatable_gen

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

dependencies:
  equatable_gen: ^1.1.1

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:equatable_gen/equatable_gen.dart';
2
likes
130
points
861
downloads

Publisher

verified publishermrgnhnt.com

Weekly Downloads

Automatically creates 'props' getters for classes using the equatable package.

Homepage
View/report issues

Topics

#equatable #equality #equals #props #generator

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

analyzer, build, change_case, code_builder, dart_style, equatable, equatable_annotations, meta, path, source_gen, source_span, yaml

More

Packages that depend on equatable_gen