AccessToken class
Constructors
-
AccessToken({required List<
String> ? declinedPermissions, required List<String> ? permissions, required String userId, required DateTime expirationDate, required DateTime refreshDate, required String token, required String appID, String? graphDomain, required bool isExpired, required DateTime dataAccessExpirationDate}) -
AccessToken.fromJson(Map<
String, dynamic> json) -
convert the data provided for the platform channel to one instance of AccessToken
factory
Properties
- appID → String
-
the facebook application Id
final
- dataAccessExpirationDate → DateTime
-
DateTime with the date at which user data access expires
final
-
declinedPermissions
→ List<
String> ? -
list of string with the rejected permission by the user (on Web is null)
final
- expirationDate → DateTime
-
DateTime with the expires date of this token
final
- graphDomain → String?
-
the graph Domain name returned by facebook
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExpired → bool
-
is
true
when the token is expiredfinal -
permissions
→ List<
String> ? -
list of string with the approved permission by the user (on Web is null)
final
- refreshDate → DateTime
-
DateTime with the last refresh date of this token
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → String
-
token provided by facebook to make api calls to the GRAPH API
final
- userId → String
-
the facebook user id
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - convert this instance to one Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited