code: public function create($title, $message, $level = 'info', $key = 'flash_message')
      {
          $this->session->flash($key, [
              'title'   => $title,
              'message' => $message,
              'level'   => $level,
          ]);
  
          return $this;
      }
docs: Create a flash message.
  
  @param string $title
  @param string $message
  @param string $key
  
  @return $this