getHealthPermissionsFromClient function
Implementation
Future<List<HealthPermission>> getHealthPermissionsFromClient(
Client? client) async {
final googleHealthPermissions =
await getGoogleHealthPermissionFromClient(client);
final appleHealthPermissions =
await getAppleHealthPermissionFromClient(client);
return [...appleHealthPermissions, ...googleHealthPermissions];
}