error static method Null safety

LDEvaluationReason error(
  1. {LDErrorKind errorKind = LDErrorKind.UNKNOWN}
)

Returns an LDEvaluationReason with the kind LDKind.ERROR and the given errorKind.

Implementation

static LDEvaluationReason error({LDErrorKind errorKind = LDErrorKind.UNKNOWN}) {
  return LDEvaluationReason._(LDKind.ERROR, errorKind: errorKind);
}