props property

  1. @override
List<Object?> get props

Identity only: two sorts on the same key and direction compare equal even when their label or isDefault differ. Enough to dedupe a sort menu, not enough to detect that the server changed one. Do not use it to decide whether a refreshed schema is unchanged.

Implementation

@override
List<Object?> get props => [key, direction];