ruleMatch static method Null safety

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

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

Implementation

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