success method

Alert success()

Sets the alert to success type.

Implementation

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