resolveValue<T extends Object> method
Future<ResolutionDetails<T> >
resolveValue<T extends Object>({
- required String flagKey,
- required T defaultValue,
- required EvaluationContext context,
- required FlagEvaluationOptions options,
override
Implementation
@override
Future<ResolutionDetails<T>> resolveValue<T extends Object>({
required String flagKey,
required T defaultValue,
required EvaluationContext context,
required FlagEvaluationOptions options,
}) async {
final flags = await _flagsCompleter.future;
return _engine.evaluate(
flags: flags,
flagKey: flagKey,
returnType: FlagValueType.object,
context: context,
);
}