SnapchatLoginkitPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • SnapchatLoginkitPlatform
Implementers

Constructors

SnapchatLoginkitPlatform()
Constructs a SnapchatLoginkitPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLoginStateCallback() → void
Subscribe for login updates
fetchAccessToken() Future<TokenResponse>
Fetch access token after successfully logged in
fetchUserData(UserDataQuery query) Future<UserResponse>
Asynchronously Call the fetch API and get the User data
getMethodChannel() MethodChannel
Get instance of method channel class
getPlatformVersion() Future<String?>
Method to get current running platform version
hasAccessToScope(String scope) Future<bool>
To check whether a specific scope has access or not
isUserLoggedIn() Future<bool>
Query user’s logged-in state
login() → void
Start login
loginWithFirebase() Future<TokenResponse>
Asynchronously, get access token via login with firebase
logout() → void
Clear the access and refresh token locally
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeLoginStateCallback() → void
Unsubscribe from login updates
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance SnapchatLoginkitPlatform
The default instance of SnapchatLoginkitPlatform to use.
getter/setter pair