fallthrough static method Null safety

LDEvaluationReason fallthrough(
  1. {bool? inExperiment}
)

Returns an LDEvaluationReason with the kind LDKind.FALLTHROUGH.

Implementation

static LDEvaluationReason fallthrough({bool? inExperiment}) {
  if (inExperiment == true) {
    return _FALLTHROUGH_EXPERIMENT_INSTANCE;
  }
  return _FALLTHROUGH_INSTANCE;
}