Element constructor

Element(
  1. Component component
)

Creates an element that uses the given component as its configuration.

Typically called by an override of Component.createElement.

Implementation

Element(Component component) : _component = component;