isConditionActive method

bool isConditionActive(
  1. String property,
  2. String value
)

Helper that checks whether a value for a given property exists in the current state as an active condition.

Implementation

bool isConditionActive(String property, String value) {
  final conditionKey = generateConditionKey(property, value);
  return _conditionKeyTracker.containsKey(conditionKey);
}