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

Operators

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

Static Properties

chatRepo ↔ ChatRepo
getter/setter pair
currentUser → User
no setter
isInitialized ↔ bool
getter/setter pair
messageProviders ↔ List<MessageProvider<MessageContent>>
getter/setter pair
messageRepoFactory ← MessageRepo Function(Chat chat)
no getter
uploaderFactory ← AttachmentUploader Function(Attachment attachment)
no getter

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