ApiListMessageResponse constructor
ApiListMessageResponse({
- String id = '',
- String messageContentRaw = '',
- String message = '',
- String timeSend = '',
- String senderId = '',
- String roomId = '',
- String receiperId = '',
- String lastPinedTime = '',
- String lastEditTime = '',
- int type = 0,
- int revokeEnum = 0,
- int countValue = 0,
- bool isDeleted = false,
- bool isEdited = false,
- bool isSave = false,
- bool isPined = false,
- List<
ReactionsModel> reactions = const [], - List<
String> mentionsIds = const [], - List<
AttachmentsModel> attachments = const [],
Implementation
ApiListMessageResponse({
this.id = '',
this.messageContentRaw = '',
this.message = '',
this.timeSend = '',
this.senderId = '',
this.roomId = '',
this.receiperId = '',
this.lastPinedTime = '',
this.lastEditTime = '',
this.type = 0,
this.revokeEnum = 0,
this.countValue = 0,
this.isDeleted = false,
this.isEdited = false,
this.isSave = false,
this.isPined = false,
this.reactions = const [],
this.mentionsIds = const [],
this.attachments = const [],
});