ContextSession extension Setup

Context extension to get the Serverpod session from inside a components build method.

on
  • BuildContext

Properties

session → Session

Available on BuildContext, provided by the ContextSession extension

Get the current Serverpod session.
no setter