warning method

void warning(
  1. String s
)

Implementation

void warning(String s) {
  addError(s, isWarning: true);
}