removeMentionedUserById method
Removes the mentioned user with the given userId
.
Implementation
void removeMentionedUserById(String userId) {
mentionedUsers = [...mentionedUsers]..removeWhere((it) => it.id == userId);
}
Removes the mentioned user with the given userId
.
void removeMentionedUserById(String userId) {
mentionedUsers = [...mentionedUsers]..removeWhere((it) => it.id == userId);
}