QChatUnreadInfo constructor Null safety

QChatUnreadInfo(
  1. {required int channelId,
  2. required int serverId,
  3. int? maxCount,
  4. int? mentionedCount,
  5. int? unreadCount}
)

Implementation

QChatUnreadInfo(
    {required this.channelId,
    required this.serverId,
    this.maxCount,
    this.mentionedCount,
    this.unreadCount});