TwitterAuth class
Properties
- config → AuthConfig
-
final
-
currentSession
→ Future<
TwitterAuthSession?> -
Retrieves the currently active session, if any.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isSessionActive
→ Future<
bool> -
Returns whether the user is currently logged in or not.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
login(
{bool requestEmail = false}) → Future< TwitterAuthResult> - Logs the user in.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signOut(
) → Future< void> - Logout the current user & clear session cache.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → TwitterAuth?
-
no setter
Static Methods
-
initialize(
AuthConfig config) → Future< TwitterAuth>