autoequal 0.9.1 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.
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;
}