MessagingChannel constructor

const MessagingChannel({
  1. String protocol = 'meshagent.agent-message.v1',
  2. List<PromptTemplate>? prompts,
  3. Map<String, String>? annotations,
})

Implementation

const MessagingChannel({this.protocol = 'meshagent.agent-message.v1', List<PromptTemplate>? prompts, super.annotations})
  : prompts = prompts ?? const <PromptTemplate>[];