Creates a new custom variable.
CustomVar({ required this.index, required this.name, required this.value, });