declareBoolArray static method
Create a dynamic variable of an array containing booleans with a specified
name
and defaultValue
.
Returns a new ApptimizeListVariable of type bool 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 booleans.
The name
and defaultValue
must not be null
.
Implementation
static Future<ApptimizeListVariable<bool>?> declareBoolArray(
String name, List<bool> defaultValue) async {
return _declareDynamicListVariable<bool>(
name, _DVTypeArray + _DVTypeBool, defaultValue);
}