areItemsTheSame property
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;
Called by the DiffUtil to decide whether two object represent the same Item. By default, this will check whether oldItem.id == newItem.id;
final bool Function(T oldItem, T newItem)? areItemsTheSame;