class WebDataBaseService
{
final Storage _localStorage = window.localStorage;

Future saveUserId(String id) async {
_localStorage['webUserId_id'] = id;
}

Future<String> getId() async => _localStorage['webUserId_id']!;

Future saveUserEmail(String id) async {
_localStorage['webUserEmail'] = id;
}

Future<String> getUserEmail() async => _localStorage['webUserEmail']!;

Future invalidate() async {
_localStorage.remove('webUserId_id');
}

}