type method

Alert type(
  1. AlertType type
)

Sets the alert type.

Implementation

Alert type(AlertType type) {
  _type = type;
  return this;
}