props property

  1. @override
List<Object?> props

The list of properties that will be used to determine whether two instances are equal.

Implementation

@override
List<Object?> get props => [
      id,
      text,
      type,
      attachments,
      mentionedUsers,
      reactionCounts,
      reactionScores,
      latestReactions,
      ownReactions,
      parentId,
      quotedMessage,
      quotedMessageId,
      replyCount,
      threadParticipants,
      showInChannel,
      shadowed,
      silent,
      command,
      createdAt,
      updatedAt,
      deletedAt,
      user,
      pinned,
      pinnedAt,
      pinExpires,
      pinnedBy,
      extraData,
      status,
      i18n,
    ];