createDerived method

Selector createDerived(
  1. dynamic elements,
  2. {List<Extend> extendList,
  3. bool evaldCondition}
)

elements is List | String (to be parsed)

Implementation

Selector createDerived(dynamic elements,
        {List<Extend> extendList, bool evaldCondition}) =>
    Selector(getElements(elements),
        extendList: extendList ?? this.extendList,
        condition: null,
        index: index,
        currentFileInfo: currentFileInfo,
        visibilityInfo: visibilityInfo())
      ..evaldCondition = evaldCondition ?? this.evaldCondition
      ..mediaEmpty = mediaEmpty;