src/Alert.php
public function success($message, ?string $title = null): self
    {
        return $this->flash($message, config('laravel-alert.classes.success'), $title);
    }
public function success($message, ?string $title = null): self
    {
        return $this->flash($message, config('laravel-alert.classes.success'), $title);
    }
public function success ( $ message , ? string $ title = null ) : self { return $ this -> flash ( $ message , config ( 'laravel-alert.classes.success' ) , $ title ) ; }
Flash a success alert.

@param string|array $message
@param string|null  $title

@return \BrianFaust\Alert\Alert
Flash a success alert .