Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (34 sloc) 728 Bytes
import "package:circles_app/model/message.dart";
import "package:meta/meta.dart";
@immutable
class SendMessage {
final String message;
const SendMessage(
this.message,
);
@override
String toString() {
return "SendMessage{message: $message}";
}
}
@immutable
class UpdateAllMessages {
final List<Message> data;
const UpdateAllMessages(this.data);
}
@immutable
class DeleteMessage {
final String messageId;
const DeleteMessage(this.messageId);
}
@immutable
class EmojiReaction {
final String emoji;
final String messageId;
const EmojiReaction(this.messageId, this.emoji);
}
@immutable
class RemoveEmojiReaction {
final String messageId;
const RemoveEmojiReaction(this.messageId);
}
You can’t perform that action at this time.