hasMeditationGraphData method

Future<bool> hasMeditationGraphData()

Check if have meditation graph data

Implementation

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