You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the object is only data. So it feels a little counter intuitive to add a getMessageText() function to it. Adding the processed one to the object makes more sense.
If you're going to add a function to the object I would suggest you also have a toJSON() function. Also if you're adding the getMessageText() function, I would also love a toggle to remove the emoji. Like:
getMessageText(includeEmoji: true/false) if you know what I mean?
メッセージのテキストjoinとかのUtil系をChatItemに関数を追加したら便利そう
もしくは少ないなら処理済みのものを要素に追加する
The text was updated successfully, but these errors were encountered: