1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09:21 +00:00
comunicmobile/lib/models/unread_conversation.dart

19 lines
457 B
Dart
Raw Normal View History

2021-03-10 16:54:41 +00:00
import 'package:comunic/models/conversation.dart';
import 'package:comunic/models/conversation_message.dart';
import 'package:flutter/material.dart';
/// Unread conversation information
///
/// @author Pierre Hubert
class UnreadConversation {
2021-03-10 16:54:41 +00:00
final Conversation conv;
final ConversationMessage message;
const UnreadConversation({
2021-03-10 16:54:41 +00:00
@required this.conv,
@required this.message,
2021-03-10 16:54:41 +00:00
}) : assert(conv != null),
assert(message != null);
}