action property

String action

action could have values: login, signup, create, or upgrade. The create action is when the developer manually creates the session by saving a Session object. The upgrade action is when the user is upgraded to revocable session from a legacy session token.

Implementation

String get action => createdWith == null ? null : createdWith!['action'];