NIMSession(- {required String sessionId,
- String? senderAccount,
- String? senderNickname,
- required NIMSessionType sessionType,
- String? lastMessageId,
- NIMMessageType? lastMessageType,
- NIMMessageStatus? lastMessageStatus,
- String? lastMessageContent,
- int? lastMessageTime,
- NIMMessageAttachment? lastMessageAttachment,
- int? unreadCount = 0,
- Map<String, dynamic>? extension,
- int? tag}
)
Implementation
NIMSession({
required this.sessionId,
this.senderAccount,
this.senderNickname,
required this.sessionType,
this.lastMessageId,
this.lastMessageType,
this.lastMessageStatus,
this.lastMessageContent,
this.lastMessageTime,
this.lastMessageAttachment,
this.unreadCount = 0,
this.extension,
this.tag,
});