add method

  1. @deprecated
Variable<T> add(
  1. String name, {
  2. T? value,
  3. bool? constant,
})

Use create instead.

Implementation

@deprecated
Variable<T> add(String name, {T? value, bool? constant}) {
  return create(name, value: value, constant: constant);
}