ruleMatch static method

LDEvaluationReason ruleMatch({
  1. required int ruleIndex,
  2. required String ruleId,
  3. bool? inExperiment,
})

Returns an LDEvaluationReason with the kind LDKind.ruleMatch and the given ruleIndex and ruleId.

Implementation

static LDEvaluationReason ruleMatch(
    {required int ruleIndex, required String ruleId, bool? inExperiment}) {
  return LDEvaluationReason._(LDKind.ruleMatch,
      ruleIndex: ruleIndex,
      ruleId: ruleId,
      inExperiment: inExperiment ?? false);
}