fetchContestData method

Future<void> fetchContestData(
  1. BuildContext context
)

Implementation

Future<void> fetchContestData(BuildContext context) async {
  _isDataLoaded = false;
  // List<String> contests = _userData.map((e) => e.contestId!).toList();
  // log(contests.toString());
  _contestData = await SnipeAdapter().getContestData(context);

  // challengeDataInit(context);
  // _tempData = List.from(_allChallengesData);

  _isDataLoaded = true;
  notifyListeners();
}