ChatController class

Implemented types
Annotations
  • @Injectable(as: IChatController)

Constructors

ChatController(IChatRepository repository, ISessionManager sessionManager)

Properties

hashCode int
The hash code for this object.
no setterinherited
repository → IChatRepository
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionManager ISessionManager
final

Methods

createSocketConnection({required String socketUrl}) Future<Socket>
override
emitAny({required String key}) Future<void>
override
getMessage() Stream<ResponseEntity<ChatMessageResponse>>
override
getMessageResponse() Stream<ResponseEntity<ChatMessageResponse>>
override
getOnlineUsers() Stream<ResponseEntityList<UserModel>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAny({required String key, dynamic data}) Stream
override
sendMessage({required String receiverId, required String message}) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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