getComponent method

Node? getComponent(
  1. String componentId
)

Implementation

figma.Node? getComponent(final String componentId) {
  if (_document == null) {
    throw StateError("MorphrService not initialized.");
  }

  return _findComponent(_document!, componentId);
}