getGoogleHealthConnectAccessGranted method

Future<bool> getGoogleHealthConnectAccessGranted()

Implementation

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