BootstrapResponse constructor

const BootstrapResponse({
  1. required String visitorToken,
  2. required VisitorDto visitor,
  3. required SiteConfig config,
  4. required Availability availability,
  5. required List<TimelineItem> timeline,
  6. required String wsUrl,
  7. ConversationSummary? conversation,
  8. int protocolVersion = 1,
  9. bool? timelineHasMore,
  10. String? appId,
  11. String? appPlatform,
})

Creates a bootstrap response.

Implementation

const BootstrapResponse({
  required this.visitorToken,
  required this.visitor,
  required this.config,
  required this.availability,
  required this.timeline,
  required this.wsUrl,
  this.conversation,
  this.protocolVersion = 1,
  this.timelineHasMore,
  this.appId,
  this.appPlatform,
});