BotSubsessionListItem constructor

const BotSubsessionListItem({
  1. required BotSubsessionTopicContext context,
  2. required String title,
  3. required String summary,
  4. required int latestTime,
  5. int? sortTime,
  6. bool showUnreadDot = false,
  7. int? highlightStart,
  8. int? highlightEnd,
})

Implementation

const BotSubsessionListItem({
  required this.context,
  required this.title,
  required this.summary,
  required this.latestTime,
  int? sortTime,
  this.showUnreadDot = false,
  this.highlightStart,
  this.highlightEnd,
}) : sortTime = sortTime ?? latestTime;