getOneOptional<T> method
- @override
- dynamic locator
override
Gets an optional component reference that matches specified locator.
locator
the locator to find references by. Returns a matching component reference or null if nothing was found.