realize method
Builds a live component from spec, or returns null when it cannot be
realized in the given context (for example a mesh with no resource
realizer).
Implementation
@override
Component realize(ComponentSpec spec, RealizeContext context) =>
ForeignComponent(
ComponentSpec(spec.type, properties: {...spec.properties}),
);