hasSession property

bool get hasSession

Checks if session data is available on this context.

Implementation

bool get hasSession => has(SessionPlugin._sessionProperty);