assertCalculation method Null safety
- [String? name]
SassScriptException if this isn't a calculation.
If this came from a function argument,
name is the argument name
$). It's used for error reporting.
SassCalculation assertCalculation([String? name]) => throw _exception("$this is not a calculation.", name);