hasWaterGraphData method

Future<bool> hasWaterGraphData()

Check if have water graph data

Implementation

Future<bool> hasWaterGraphData() async {
  return (await getDrinkWaterLog(
          startDate: DateTime.now().add(const Duration(days: -1000)),
          endDate: DateTime.now()))
      .isNotEmpty;
}