createDefaultValue<T extends Object> static method

BKTEvaluationDetails<T> createDefaultValue<T extends Object>(
  1. String featureId,
  2. String userId,
  3. T defaultValue
)

Implementation

static BKTEvaluationDetails<T> createDefaultValue<T extends Object>(
    String featureId, String userId, T defaultValue) {
  return BKTEvaluationDetails<T>(
    featureId: featureId,
    featureVersion: 0,
    userId: userId,
    variationId: '',
    variationName: '',
    variationValue: defaultValue,
    reason: evaluationDetailsDefaultReason,
  );
}