platformType property

HealthPlatformType platformType

The type of platform of this device.

Implementation

HealthPlatformType get platformType => Platform.isIOS
    ? HealthPlatformType.appleHealth
    : useHealthConnectIfAvailable
        ? HealthPlatformType.googleHealthConnect
        : HealthPlatformType.googleFit;