error function

void error({
  1. required String message,
  2. AnnotationProperties? properties,
})

Adds an error message with optional properties.

Implementation

void error({required String message, AnnotationProperties? properties}) {
  issueCommand('error', toCommandProperties(properties), message);
}