healthData = await health.getHealthDataFromTypes(startDate, endDate, types); _healthDataList.addAll(healthData); } catch (e) { print("Caught exception in getHealthDataFromTypes: $e"); } _healthDataList = HealthFactory.removeDuplicates(_healthDataList); _healthDataList.forEach((x) { steps += x.value.round(); }); setState(() { _state = _healthDataList.isEmpty ? AppState.NO_DATA : AppState.DATA_READY; }); w σʔλͷऔಘ