getOptional<T> method
Null safety
- dynamic locator
override
Gets all component references that match specified locator.
locator
the locator to find references by. Returns a list with matching component references or empty list if nothing was found.