IntentCallHostEvent constructor

const IntentCallHostEvent({
  1. required IntentCallHostEventKind kind,
  2. required IntentCallDrainTrigger trigger,
  3. IntentCallInvocationEnvelope? envelope,
  4. AgentResult? result,
  5. List<AgentResult> results = const <AgentResult>[],
  6. Object? error,
  7. StackTrace? stackTrace,
})

Implementation

const IntentCallHostEvent({
  required this.kind,
  required this.trigger,
  this.envelope,
  this.result,
  this.results = const <AgentResult>[],
  this.error,
  this.stackTrace,
});