autoequal 0.9.1 copy "autoequal: ^0.9.1" to clipboard
autoequal: ^0.9.1 copied to clipboard

Annotations for code generator 'autoequal_gen' to simplify work with 'equatable'. It will generate 'List<Object?> props' private extensions for all annotated classes.

example/main.dart

import 'package:autoequal/autoequal.dart';
import 'package:equatable/equatable.dart';

part 'main.g.dart';

@autoequal
class ExampleClass extends Equatable {
  const ExampleClass({
    required this.value,
    this.ignored,
    this.optional,
  });

  final String? optional;
  final String value;

  @ignore
  final String? ignored;
}
11
likes
160
pub points
85%
popularity

Publisher

verified publishermrgnhnt.com

Annotations for code generator 'autoequal_gen' to simplify work with 'equatable'. It will generate 'List<Object?> props' private extensions for all annotated classes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on autoequal