fetchWebAuthToken method
Fetch the ckWebAuthToken from SharedPreferences
into local storage.
Implementation
Future<String?> fetchWebAuthToken() async
{
WidgetsFlutterBinding.ensureInitialized();
final prefs = await SharedPreferences.getInstance();
_ckWebAuthToken = prefs.getString(CKConstants.WEB_AUTH_TOKEN_STORAGE_KEY) ?? _ckWebAuthToken;
return _ckWebAuthToken;
}