areContentsTheSame method
Checks if the content of two messages at the given positions is the same.
Uses equalityChecker
from freezed_annotation
for deep comparison.
Implementation
@override
bool areContentsTheSame(int oldItemPosition, int newItemPosition) =>
equalityChecker(oldList[oldItemPosition], newList[newItemPosition]);