action property
An authentication action to perform.
Implementation
@override
AuthAction get action {
if (_action != null) {
return _action!;
}
if (auth.currentUser != null) {
return AuthAction.link;
}
return AuthAction.signIn;
}
Use this setter to override the autoresolved AuthAction. Autoresolved action is AuthAction.signIn if there is no currently signed in user, AuthAction.link otherwise.
Implementation
set action(AuthAction value) {
_action = value;
}