ChatController constructor
ChatController({})
Implementation
ChatController({
required this.initialMessageList,
required this.scrollController,
required List<ChatUser> otherUsers,
required this.currentUser,
}) : _otherUsers = otherUsers.toMap<String, ChatUser>(
getKey: (user) => user.id,
);