declareDoubleDictionary static method
Create a dynamic variable of an map containing doubles keyed by strings
with a specified name
and defaultValue
.
Returns a new ApptimizeMapVariable of type double if no variable has
been created before with this name
. If an ApptimizeVariable already
exists with this name it returns the existing map variable but does not
update the default value or null
if it is not a double dictionary.
The name
and defaultValue
must not be null
.
Implementation
static Future<ApptimizeMapVariable<double>?> declareDoubleDictionary(
String name, Map<String, double> defaultValue) async {
return _declareDynamicMapVariable<double>(
name, _DVTypeDictionary + _DVTypeDouble, defaultValue);
}