Upgrading equatable 0.5 to 0.6
Breaking0.5.1 → 0.6.1Breaking1Changed1Other1
BreakingUpgrade verdict
1 breaking change.
In plain terms
- Classes using Equatable or EquatableMixin must now define a props getter listing the fields used for equality.
Must act 1 item needs code or config changes
What you must change
Breaking1
The
props getter override is now required for both Equatable and EquatableMixin.propsEquatableEquatableMixinAPI changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
field Equatable.props: final List - changed:
ctor Equatable([this.props = …]) → ctor Equatable() - added:
get Equatable.props: List<Object>