fetchUserdata method

Future<void> fetchUserdata(
  1. BuildContext context
)

Implementation

Future<void> fetchUserdata(BuildContext context) async {
  _isDataLoaded = false;

  _userData = await SnipeAdapter().getUserData(context);
  // fetchContestData(context);
  // challengeDataInit(context);
  // _tempData = List.from(_allChallengesData);

  _isDataLoaded = true;
  notifyListeners();
}