function init() {
    if ( !atomicHelpers.setInitFlag( _dom ) ) {
      return standardType.UNDEFINED;
    }

    // Check and set default type of notification.
    var classList = _dom.classList;
    if ( classList.contains( BASE_CLASS + '__' + SUCCESS ) ) {
      _currentType = SUCCESS;
    } else if ( classList.contains( BASE_CLASS + '__' + WARNING ) ) {
      _currentType = WARNING;
    } else if ( classList.contains( BASE_CLASS + '__' + ERROR ) ) {
      _currentType = ERROR;
    }

    return this;
  }
/**
   * @returns {Notification|undefined} An instance,
   *   or undefined if it was already initialized.
   */
@returns {Notification|undefined} An instance,
or undefined if it was already initialized.
@returns { Notification|undefined } An instance or undefined if it was already initialized .
function init() {
    if ( !atomicHelpers.setInitFlag( _dom ) ) {
      return standardType.UNDEFINED;
    }
    var classList = _dom.classList;
    if ( classList.contains( BASE_CLASS + '__' + SUCCESS ) ) {
      _currentType = SUCCESS;
    } else if ( classList.contains( BASE_CLASS + '__' + WARNING ) ) {
      _currentType = WARNING;
    } else if ( classList.contains( BASE_CLASS + '__' + ERROR ) ) {
      _currentType = ERROR;
    }
    return this;
  }
function init ( ) { if ( ! atomicHelpers . setInitFlag ( _dom ) ) { return standardType . UNDEFINED ; } var classList = _dom . classList ; if ( classList . contains ( BASE_CLASS + '__' + SUCCESS ) ) { _currentType = SUCCESS ; } else if ( classList . contains ( BASE_CLASS + '__' + WARNING ) ) { _currentType = WARNING ; } else if ( classList . contains ( BASE_CLASS + '__' + ERROR ) ) { _currentType = ERROR ; } return this ; }
@returns {Notification|undefined} An instance,
   or undefined if it was already initialized.
@returns { Notification|undefined } An instance or undefined if it was already initialized .
// Check and set default type of notification.