applyForEachRule method

void applyForEachRule(
  1. Function ftsAndRuleFunction
)

Apply the passed ftsAndRuleFunction to each rule found.

The function will have FeatureTypeStyle and Rule as parameters.

Implementation

void applyForEachRule(Function ftsAndRuleFunction) {
  featureTypeStyles.forEach((fts) {
    fts.rules.forEach((rule) {
      ftsAndRuleFunction(fts, rule);
    });
  });
}