For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Flutter: currentSession

Returns the session data, if there is an active session.

Examples

Get the session data

final Session? session = supabase.auth.currentSession;

Get the session data, refreshing if needed

final session = await supabase.auth.getSession();
Sponsor
SponsoredKunjungi sekarang
Promo