upsertTemplate method
Implementation
void upsertTemplate(Map spec) {
final node = WidgetNodeSpec.fromMap(spec);
templates[node.id] = node;
}
void upsertTemplate(Map spec) {
final node = WidgetNodeSpec.fromMap(spec);
templates[node.id] = node;
}