I want to access to flashSession messages from other helper, It's like a flashSession.output() method but I want to change all the html doing some checks, etc...
I want this:
```
{% if flashSession.has() %}
{% if flashSession.has("error") %}
{% set bgColorClass = "red lighten-4" %}
{% set textColorClass = "red-text text-darken-4" %}
{% set flashIcon = "error" %}
{% elseif flashSession.has("success") %}
{% set bgColorClass = "green lighten-4" %}
{% set textColorClass = "green-text text-darken-4" %}
{% set flashIcon = "success" %}
{% elseif flashSession.has("notice") %}
{% set bgColorClass = "blue lighten-4" %}
{% set textColorClass = "blue-text text-darken-4" %}
{% set flashIcon = "notice" %}
{% elseif flashSession.has("warning") %}
{% set bgColorClass = "yellow lighten-4" %}
{% set textColorClass = "yellow-text text-darken-4" %}
{% set flashIcon = "warning" %}
{% endif %}
<div class="row flash">
<div class="col s12">
<div class="card-panel {{ bgColorClass }}">
<span class="{{ textColorClass }}">
<i class="material-icons">{{ flashIcon }}</i>
<div class="flash-messages">
{{ flashSession.output() }}
</div>
</span>
</div>
</div>
</div>
{% endif %}
´´´
in this way:
```
{{ custom.showFlashMessages() }}
´´´
Thanks!