additionalFields property
- @JsonKey.new(readValue: _readSessionAdditionalFields, includeToJson: false)
inherited
Server-defined custom fields (additionalFields)
that aren't part of the static Session shape. Populated from unmapped
JSON keys by Session.fromJson; never serialized back out. Read via the
field extension, e.g. session.field<String>('theme').
Implementation
String? get activeTeamId;/// Server-defined custom fields ([`additionalFields`](https://www.better-auth.com/docs/concepts/database#extending-core-schema))
/// that aren't part of the static [Session] shape. Populated from unmapped
/// JSON keys by [Session.fromJson]; never serialized back out. Read via the
/// `field` extension, e.g. `session.field<String>('theme')`.
@JsonKey(readValue: _readSessionAdditionalFields, includeToJson: false) Map<String, dynamic> get additionalFields;