getIdToken method
After user connected, this function returns the id token of the user
Implementation
@override
Future<String?> getIdToken() async {
try {
final rawJson = await promiseToFuture(earthoInstance?.getIdToken());
return rawJson;
} catch (e) {
print(e);
return null;
}
}