updateUser method
Implementation
Future updateUser(T? newUser, {bool notify = false}) async {
_user = newUser;
_user == null ? await _dataPreferences.remove(__userInfoDataKey) : await _dataPreferences.setModel<T>(__userInfoDataKey, _user!);
if (notify) notifyListeners();
}