instantiate method
Needs no source — the component is already compiled into the code asset.
Implementation
@override
SlintSoftwareComponent instantiate(String componentName) {
if (componentName != this.componentName) {
throw ArgumentError.value(
componentName,
'componentName',
'this factory only instantiates ${this.componentName}',
);
}
final handle = ops.create();
if (handle.address == 0) {
throw StateError(ops.takeError());
}
return _AotComponent(handle, ops);
}