toAgentSpec method

AgentSpec toAgentSpec({
  1. required Map<String, String> values,
})

Implementation

AgentSpec toAgentSpec({required Map<String, String> values}) {
  return AgentSpec(
    name: name.formatWith(values),
    description: description?.formatWith(values),
    annotations: Map<String, dynamic>.from(_formatJsonValue(annotations, values) as Map),
    channels: channels?.formatWith(values),
  );
}