mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-30 00:36:28 +00:00
26 lines
577 B
Dart
26 lines
577 B
Dart
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);
|
|
}
|