TwitterAuthResult class
The result when a Twitter login flow has completed.
To handle this result, first check what the status is. If the status equals TwitterAuthStatus.loggedIn, the login was successful. In this case, the session contains all relevant information about the currently logged in user.
Constructors
- TwitterAuthResult.unknwon({TwitterAuthSession? session, TwitterAuthStatus status = TwitterAuthStatus.failed})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- session → TwitterAuthSession?
-
Only available when the status equals TwitterAuthStatus.loggedIn,
otherwise null.
final
- status → TwitterAuthStatus
-
The status after a Twitter login flow has completed.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parseStatus(
String? status, String? error) → TwitterAuthStatus