warning method

Alert warning()

Sets the alert to warning type.

Implementation

Alert warning() {
  _type = AlertType.warning;
  return this;
}