You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep getting this exception _TypeError (type '(HttpException) => Null' is not a subtype of type '(dynamic) => dynamic') when I call auth0.auth.refreshToken.
My code to call it is like this:
try {
var response =await auth0.auth.refreshToken({
'refreshToken': refreshToken,
});
return response;
} catch (e) {
print("Unable to refresh: ${e.toString()}");
}
The exception is being raised by the await auth0.auth.refreshToken line and isn't being caught by the try ... catch block, it is paused by VSCode. Am I doing something wrong, or is there a bug in the underlying library? Happens on a physical phone and on the emulator.
The text was updated successfully, but these errors were encountered:
I keep getting this exception
_TypeError (type '(HttpException) => Null' is not a subtype of type '(dynamic) => dynamic')
when I callauth0.auth.refreshToken
.My code to call it is like this:
The exception is being raised by the
await auth0.auth.refreshToken
line and isn't being caught by thetry ... catch
block, it is paused by VSCode. Am I doing something wrong, or is there a bug in the underlying library? Happens on a physical phone and on the emulator.The text was updated successfully, but these errors were encountered: