ChatBridgeService class abstract

An abstract class representing a chat service that can connect, disconnect, send messages, and receive messages and status updates via streams.

Constructors

ChatBridgeService()

Properties

hashCode int
The hash code for this object.
no setterinherited
onConnectionStatusChanged Stream<ChatStatus>
A stream of status updates indicating the connection status of the chat service.
no setter
onMessageReceived Stream<String>
A stream of messages received from the chat service.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect() Future<void>
Connects to the chat service.
createChatRoom(ChatRoom chatRoom) Future<void>
disconnect() Future<void>
Disconnects from the chat service.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendMessage({required String chatRoomId, required Message message}) Future<void>
Sends a message to the chat service.
toString() String
A string representation of this object.
inherited

Operators

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