We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2117551 commit 6de8b97Copy full SHA for 6de8b97
lib/src/equatable_mixin.dart
@@ -1,3 +1,5 @@
1
+import 'package:meta/meta.dart';
2
+
3
import 'equatable.dart';
4
import 'equatable_config.dart';
5
import 'equatable_utils.dart';
@@ -7,6 +9,7 @@ import 'equatable_utils.dart';
7
9
///
8
10
/// Like with extending [Equatable], the [EquatableMixin] overrides the
11
/// [operator ==] as well as the [hashCode] based on the provided [props].
12
+@immutable
13
mixin EquatableMixin {
14
/// {@macro equatable_props}
15
List<Object?> get props;
0 commit comments