isHealthKitAvailable method
Checks if HealthKit is available on the device.
Returns true if HealthKit is available, false otherwise.
This can be useful to check if HealthKit can be used for step counting.
Implementation
Future<bool> isHealthKitAvailable() {
return StepsCountPlatform.instance.isHealthKitAvailable();
}