Skip to content

Upgrading equatable 0.5 to 0.6

Breaking0.5.1 → 0.6.1Breaking1Changed1Other1

BreakingUpgrade verdict

1 breaking change.

  • Classes using Equatable or EquatableMixin must now define a props getter listing the fields used for equality.
1 item needs code or config changes
Breaking1
The props getter override is now required for both Equatable and EquatableMixin.
propsEquatableEquatableMixin

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>