person property
The person of session; throws a StateError for an unsecured operation.
Implementation
FakePerson get person =>
world.people[session?.userId] ?? (throw StateError('no session'));
The person of session; throws a StateError for an unsecured operation.
FakePerson get person =>
world.people[session?.userId] ?? (throw StateError('no session'));