warn abstract method

void warn(
  1. String message,
  2. {FileSpan? span,
  3. Trace? trace,
  4. bool deprecation = false}
)

Emits a warning with the given message.

If span is passed, it's the location in the Sass source that generated the warning. If trace is passed, it's the Sass stack trace when the warning was issued. If deprecation is true, it indicates that this is a deprecation warning. Implementations should surface all this information to the end user.

Implementation

void warn(String message,
    {FileSpan? span, Trace? trace, bool deprecation = false});