getNumberFlag static method
Fetches a feature flag as a number from the specified provider. Supports passing a context for dynamic evaluations.
Implementation
static Future<num> getNumberFlag(
String providerName,
String flagKey, {
num defaultValue = 0,
Map<String, dynamic>? context,
}) async {
final provider = _getProvider(providerName);
return provider.getNumberFlag(
flagKey,
defaultValue: defaultValue,
context: context,
);
}