connectWithPopup method
Implementation
@override
Future<EarthoCredentials?> connectWithPopup(String accessId) async {
if(earthoInstance == null)return null;
final rawJson = await promiseToFuture(earthoInstance?.connectWithPopup(
PopupConnectOptions(access_id: accessId), PopupConfigOptions()));
if (rawJson == null) return null;
// final decodedJson = jsonDecode(rawJson);
return EarthoCredentials.fromJSON(rawJson);
}