getUserAuthToken static method
Implementation
static Future<String?> getUserAuthToken() async {
try {
User? loggedInUser = await getLoggedInUser();
if (loggedInUser != null) {
var result = await channel.invokeMethod('getUserAuthToken', {});
return result;
} else {
return null;
}
} on PlatformException catch (p) {
_errorCallbackHandler(null, p, null, null);
return null;
} catch (e) {
return null;
}
}