EarthoOneWeb class

A web implementation of the EarthoOnePlatform of the EarthoOne plugin.

Inheritance

Constructors

EarthoOneWeb()
Constructs a EarthoOneWeb

Properties

earthoInstance EarthoOneWeb?
getter/setter pair
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?>
override
connectWithRedirect(String accessId) Future<EarthoCredentials?>
Starts the access flow
override
disconnect() Future
Disconnect this user from eartho and clear session
inherited
getIdToken() Future<String?>
After user connected, this function returns the id token of the user
override
getPlatformVersion() Future<String?>
Returns a String containing the version of the platform.
override
getUser() Future<EarthoUser?>
After user connected, this function returns user object
override
initEartho({required String clientId, required String clientSecret, List<String>? enabledProviders}) Future
Init the sdk
override
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

registerWith(Registrar registrar) → void