takeAppearAnimation method
Whether the message with messageId was just added and should play its entrance
animation. Returns true at most once per added message.
Called by Chat when it first builds the message.
Implementation
bool takeAppearAnimation(String messageId) {
final addedAt = _appearPendingIds.remove(messageId);
return addedAt != null && DateTime.now().difference(addedAt) <= _appearWindow;
}