User class

https://developer.twitter.com/en/docs/twitter-api/data-dictionary/object-model/user

Constructors

User(Map<String, dynamic> params)
constructor

Properties

email String
user email address
read-only
hashCode int
The hash code for this object.
read-onlyinherited
id int
The unique identifier of this user.
read-only
name String
Twitter account name
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
screenName String
Twitter account id
read-only
thumbnailImage String
thumbnailImage
read-only

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

getUserData(String apiKey, String apiSecretKey, String accessToken, String accessTokenSecret) Future<User>
get user info
getUserDataV2(String apiKey, String apiSecretKey, String accessToken, String accessTokenSecret, String userId) Future<User>
get user info.