areItemsTheSame property

(bool Function(T oldItem, T newItem)?) areItemsTheSame
final

Called by the DiffUtil to decide whether two object represent the same Item. By default, this will check whether oldItem.id == newItem.id;

Implementation

final bool Function(T oldItem, T newItem)? areItemsTheSame;