Chatify class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
dispose()
→ Future<void>
-
-
init({required User currentUser, required ChatRepo chatRepo, required MessageRepo messageRepoFactory(Chat chat), required AttachmentUploader uploaderFactory(Attachment attachment), required List<MessageProvider<MessageContent>> messageProviders, List<ChatAddon> chatAddons = const [], List<ChatsAddon> chatsAddons = const []})
→ Future<void>
-
-
messageRepo(Chat chat)
→ MessageRepo
-
-
openChatById(BuildContext context, {required String chatId, GlobalKey<NavigatorState>? navigatorKey})
→ Future<void>
-
-
openChatByUser(BuildContext context, {required User user, GlobalKey<NavigatorState>? navigatorKey})
→ Future<void>
-
-
uploader(Attachment attachment)
→ AttachmentUploader
-