mirror of
https://github.com/WuKongIM/WuKongIMFlutterSDK
synced 2025-05-24 02:42:20 +00:00
17 lines
346 B
Dart
17 lines
346 B
Dart
import 'package:wukongimfluttersdk/entity/conversation.dart';
|
|
|
|
class UIConversation {
|
|
String lastContent = '';
|
|
String channelAvatar = '';
|
|
String channelName = '';
|
|
WKUIConversationMsg msg;
|
|
UIConversation(this.msg);
|
|
|
|
String getUnreadCount() {
|
|
if (msg.unreadCount > 0) {
|
|
return '${msg.unreadCount}';
|
|
}
|
|
return '';
|
|
}
|
|
}
|