getOptional<T> method

List<T> getOptional <T>(dynamic locator)

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.