Back
flash()
Returns the value of a specific key in the Flash (or the entire Flash as a struct if no key is passed in).
// Get the current value of notice in the Flash
notice = flash("notice");
// Get the entire Flash as a struct
flashContents = flash();
Copied!