mirror of
https://github.com/Iconica-Development/flutter_chat.git
synced 2025-05-18 18:33:49 +02:00
This allows to get all the users for a chat in one call instead of doing multiple seperate calls for every individual user of a chat |
||
---|---|---|
.. | ||
lib | ||
.gitignore | ||
analysis_options.yaml | ||
CHANGELOG.md | ||
LICENSE | ||
pubspec.yaml | ||
README.md |
Firebase chat repository
The firebase implementation of the chat_repository_interface
Usage
chatService: ChatService(
chatRepository: FirebaseChatRepository(
chatCollection: 'chats',
messageCollection: 'messages',
mediaPath: 'chat',
),
userRepository: FirebaseUserRepository(
userCollection: 'users',
),
),