getAppleHealthPermissionFromClient function

Future<List<HealthPermission>> getAppleHealthPermissionFromClient(
  1. Client? client
)

Implementation

Future<List<HealthPermission>> getAppleHealthPermissionFromClient(
    Client? client) async {
  final quantityTypes = client?.appleQuantityTypeClient ?? [];

  final categoryTypes = client?.appleCategoryTypeClient ?? [];

  return await getHealthPermissionsFromApi(quantityTypes, categoryTypes, []);
}