TemplateComponent.fromMap constructor
TemplateComponent.fromMap(
- Map map
Creates a template component configuration from the provided map.
Implementation
factory TemplateComponent.fromMap(
Map<dynamic, dynamic> map,
) {
return TemplateComponent(
description: map['description'] as String,
template: map['template'] as String,
output: map['output'] as String,
);
}