user method
Return authenticated user from secure storage
If no user is authenticated, return {}
Implementation
Future<dynamic> user() async {
/// JsonBridge
var jsonStorage = JsonStorage();
return await jsonStorage.getUser();
}
Return authenticated user from secure storage
If no user is authenticated, return {}
Future<dynamic> user() async {
/// JsonBridge
var jsonStorage = JsonStorage();
return await jsonStorage.getUser();
}