evaluateConditions method

bool evaluateConditions(
  1. PreferenceCenterConditionState state
)

Implementation

bool evaluateConditions(PreferenceCenterConditionState state) {
  if (conditions == null || conditions!.isEmpty) {
    return true;
  }
  for (var condition in conditions!) {
    if (!condition.evaluate(state)) {
      return false;
    }
  }
  return true;
}