isVariableValue static method
Returns true if value has a variable:
%varName%: A variable name.#table:sqlID#: references to a table and sql ID.
Implementation
static bool isVariableValue(Object? value) =>
(value is String && _regexpVariable.hasMatch(value)) ||
(value is List && value.any(isVariableValue));