assertColor method
Throws a SassScriptException
if this
isn't a color.
If this came from a function argument, name
is the argument name
(without the $
). It's used for error reporting.
Implementation
SassColor assertColor([String? name]) => this;