applyTo method
Implementation
void applyTo(Map<String, dynamic> extra) {
if (templateId != null && templateId!.isNotEmpty) {
extra[promptTemplateIdField] = templateId;
}
if (variables.isNotEmpty) {
extra[promptVariablesField] = variables;
}
}