fetchCauses method
Implementation
Future fetchCauses() async {
setBusy(true);
List<ListCause> causesList = await _causesService.getCauses();
_causes = {for (ListCause cause in causesList) cause: cause.selected};
setBusy(false);
notifyListeners();
print(_causes);
}