AssistMessage.response constructor

const AssistMessage.response({
  1. required String data,
  2. DateTime? time,
  3. AssistMessageAuthor? author,
  4. List<AssistMessageSuggestion>? suggestions,
  5. AssistSuggestionSettings? suggestionSettings,
  6. List<AssistMessageToolbarItem>? toolbarItems,
})

Implementation

const AssistMessage.response({
  required this.data,
  this.time,
  this.author,
  this.suggestions,
  this.suggestionSettings,
  this.toolbarItems,
})  : text = data,
      isRequested = false;