pocketbase / dart-sdk

PocketBase Dart SDK
https://pub.dev/packages/pocketbase
MIT License
512 stars 51 forks source link

Is there any way we can get the current Logged in User? #3

Closed mukhtharcm closed 2 years ago

ganigeorgiev commented 2 years ago

Yes, you can use client.authStore.model.

More info about the default AuthStore could be found at https://github.com/pocketbase/dart-sdk#authstore.