apply method

void apply(
  1. String applyType,
  2. AFWidgetSelector selector,
  3. Element elem,
  4. dynamic data,
)

This applies data to a widget, usually by calling a method that is part of the widget

Implementation

void apply(String applyType, AFWidgetSelector selector, Element elem, dynamic data) {
  if(!applyInternal(applyType, selector, elem, data)) {
    throw AFException("Failed to apply $applyType to selector $selector");
  }
}