TwitterAuthSession class
The information about a Twitter user session.
Includes the token and secret, along with the user's id and name, email address (if availeble) & username.
Both the token and secret are needed for making authenticated Twitter API calls.
Constructors
-
TwitterAuthSession.fromMap(Map<
String, dynamic> map) - Constructs a new access token instance from a Map.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → String
-
Auth secret used to make Twitter API calls.
final
- token → String
-
Auth token for the user.
final
- user → TwitterUser
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Transforms this access token to a Map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override