userToken static method
The token of the user.
- Returns a Future that completes with the user token.
Implementation
static Future<String?> userToken() async {
const storage = FlutterSecureStorage();
String? token = await storage.read(key: _tokenKey());
return token;
}