resolve<T extends APIObject> method
Null safety
- T refObject
Implementation
T? resolve<T extends APIObject>(T refObject) {
if (refObject.referenceURI == null) {
throw ArgumentError("APIObject is not a reference to a component.");
}
return resolveUri(refObject.referenceURI!) as T?;
}