2021-03-10 16:54:41 +00:00
|
|
|
import 'package:comunic/models/conversation.dart';
|
|
|
|
import 'package:comunic/models/conversation_message.dart';
|
2020-05-08 13:40:13 +00:00
|
|
|
|
|
|
|
/// Unread conversation information
|
|
|
|
///
|
|
|
|
/// @author Pierre Hubert
|
|
|
|
|
|
|
|
class UnreadConversation {
|
2021-03-10 16:54:41 +00:00
|
|
|
final Conversation conv;
|
|
|
|
final ConversationMessage message;
|
2020-05-08 13:40:13 +00:00
|
|
|
|
|
|
|
const UnreadConversation({
|
2022-03-10 18:39:57 +00:00
|
|
|
required this.conv,
|
|
|
|
required this.message,
|
2021-03-10 16:54:41 +00:00
|
|
|
}) : assert(conv != null),
|
2020-05-08 13:40:13 +00:00
|
|
|
assert(message != null);
|
|
|
|
}
|