accessToken property

String? get accessToken

Returns the accessToken if the AuthState is Authenticated. Returns null otherwise.

Implementation

String? get accessToken => isAuthenticated ? (this as Authenticated).accessToken : null;