AccessToken class
- Annotations
-
- @JsonSerializable(explicitToJson: true, fieldRename: FieldRename.snake)
Constructors
-
AccessToken({required String token, required String userId, required int expires, required String applicationId, required int lastRefresh, required String graphDomain, required bool isExpired, List<
String> ? grantedPermissions, List<String> ? declinedPermissions}) -
const
-
AccessToken.fromJson(Map<
String, dynamic> json) -
factory
Properties
- applicationId → String
-
final
-
declinedPermissions
→ List<
String> ? -
final
- expires → int
-
final
-
grantedPermissions
→ List<
String> ? -
final
- graphDomain → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExpired → bool
-
final
- lastRefresh → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- token → String
-
final
- userId → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited