upsertComponent method

void upsertComponent(
  1. Map spec
)

Implementation

void upsertComponent(Map spec) {
  final node = WidgetNodeSpec.fromMap(spec);
  components[node.id] = node;
}