FirebaseChatServices class

Constructors

FirebaseChatServices.new({required ChatUserModal? userData})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userData ChatUserModal?
getter/setter pair

Methods

createChatThread(List<String> users, String fromUserId) → dynamic
deleteChat({required String chatId, required CollectionReference<Object?> chatCollection, Future<bool?> handleConfirmation()?, Future<bool?> handleError(Object)?}) → dynamic
//This all we will do later
deleteMessage({required ChatModal message, required String messageId, required String chatId, required CollectionReference<Object?> chatCollection}) → dynamic
getNotificationMessage(ChatModal message) → dynamic
getNotificationMessageNew(String messageType, String message) → dynamic
getSessionId(String userId) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage(ChatModal message, {required CollectionReference<Object?> chatCollection, String messageType = MessageType.text, ChatListModal? chatListModal, required String chatId}) → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited