getAppleHealthAccessGranted method

Future<bool> getAppleHealthAccessGranted()

Implementation

Future<bool> getAppleHealthAccessGranted() async {
  final appleHealthAccessGranted =
      await storage.read(key: _appleHealthAccessGranted) ?? false;
  return appleHealthAccessGranted.toString() == "true";
}