mentionedContains method Null safety
- User user
Implementation
bool mentionedContains(User user) {
return mentionedUsers?.firstWhere((e) => e.userId == user.userId) != null;
}
bool mentionedContains(User user) {
return mentionedUsers?.firstWhere((e) => e.userId == user.userId) != null;
}