toAgentSpec method
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),
);
}