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