declareIntegerArray static method
Create a dynamic variable of an array containing integers with a specified
name
and defaultValue
.
Returns a new ApptimizeListVariable of type int if no variable has
been created before with this name
. If an ApptimizeVariable already
exists with this name it returns the existing list variable but does not
update the default value or null
if it is not a list of integers.
The name
and defaultValue
must not be null.
Implementation
static Future<ApptimizeListVariable<int>?> declareIntegerArray(
String name, List<int> defaultValue) async {
return _declareDynamicListVariable<int>(
name, _DVTypeArray + _DVTypeInt, defaultValue);
}