cohortStatusNow method

Future<void> cohortStatusNow()

Implementation

Future<void> cohortStatusNow() async {
  Map<String, dynamic> res = await repository.cohortStatusNow();

  IsCohort isCohortJson = IsCohort.fromJson(res);
  isCohort.value = (isCohortJson.isCohort == 1) ? true : false;
}