ChatInterface class abstract
- Implementers
Constructors
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
-
createChat(
{required int id}) → Future< Either> -
deleteMessage(
{required String chatDocId, required String docId}) → void -
editMessage(
{required String message, required String chatDocId, required String docId}) → void -
getChat(
{required int sellerId}) → Future< Either> -
getChatList(
{String? lastDocId}) → Future< Either< List, dynamic> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readMessage(
{required String chatDocId, required String docId}) → void -
replyMessage(
{required String chatDocId, required MessageModel message}) → void -
sendMessage(
{required MessageModel message, required String chatDocId}) → Future< Either< MessageModel, dynamic> > -
showChatUser(
{required int sellerId}) → Future< Either> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited