void addMention(String displayName, String authorId) { final mentions = Map.of(state.mentions); mentions[displayName] = authorId; state = state.copyWith(mentions: mentions); }