mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-26 06:49:22 +00:00
18 lines
404 B
Dart
18 lines
404 B
Dart
|
import 'package:meta/meta.dart';
|
||
|
|
||
|
/// New conversation message model
|
||
|
///
|
||
|
/// This model is used to transfer a conversation message to send in the application
|
||
|
///
|
||
|
/// @author Pierre HUBERT
|
||
|
|
||
|
class NewConversationMessage {
|
||
|
final int conversationID;
|
||
|
final String message;
|
||
|
|
||
|
NewConversationMessage({
|
||
|
@required this.conversationID,
|
||
|
@required this.message,
|
||
|
}) : assert(conversationID != null);
|
||
|
}
|