isSessionActive property

Future<bool> get isSessionActive

Returns whether the user is currently logged in or not.

Convenience method for checking if the currentSession is not null.

Implementation

Future<bool> get isSessionActive async => await currentSession != null;