doubleVariation static method Null safety
Returns the value of flag flagKey
for the current context as a double.
Will return the provided defaultValue
if the flag is missing, not a number, or if some error occurs.
Implementation
static Future<double> doubleVariation(String flagKey, double defaultValue) async {
double? result = await _channel.invokeMethod('doubleVariation', {'flagKey': flagKey, 'defaultValue': defaultValue });
return result ?? defaultValue;
}