getComponent method

WidgetNodeSpec? getComponent(
  1. String id
)

Implementation

WidgetNodeSpec? getComponent(String id) {
  if (components.containsKey(id)) {
    return components[id]?.clone();
  }
  return null;
}