method

delete

delete(key)
public

Immediately deletes the single flash entry. Use this method when you want remove the message within the current action. See also #discard.