1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Display the list of unread conversations

This commit is contained in:
2020-05-08 15:40:13 +02:00
parent 935d7dbb63
commit 5fb845732f
5 changed files with 134 additions and 7 deletions

View File

@ -0,0 +1,25 @@
import 'package:flutter/material.dart';
/// Unread conversation information
///
/// @author Pierre Hubert
class UnreadConversation {
final int id;
final String convName;
final int lastActive;
final int userID;
final String message;
const UnreadConversation({
@required this.id,
@required this.convName,
@required this.lastActive,
@required this.userID,
@required this.message,
}) : assert(id != null),
assert(convName != null),
assert(lastActive != null),
assert(userID != null),
assert(message != null);
}