EarthoOnePlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- EarthoOnePlatform
- Implementers
Constructors
- EarthoOnePlatform()
- Constructs a EarthoOnePlatform.
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
-
connectWithPopup(
String accessId) → Future< EarthoCredentials?> -
connectWithRedirect(
String accessId) → Future< EarthoCredentials?> - Starts the access flow
-
disconnect(
) → Future - Disconnect this user from eartho and clear session
-
getIdToken(
) → Future< String?> - After user connected, this function returns the id token of the user
-
getPlatformVersion(
) → Future< String?> -
getUser(
) → Future< EarthoUser?> - After user connected, this function returns user object
-
initEartho(
{required String clientId, required String clientSecret, List< String> ? enabledProviders}) → Future - Init the sdk
-
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 Properties
- instance ↔ EarthoOnePlatform
-
The default instance of EarthoOnePlatform to use.
getter/setter pair