Flutter SDK

SuccessMessage

class SuccessMessage{
  final bool? success;
  final String? error;
}

DataMessage

class DataMessage{
  final bool? success;
  final Map<String, dynamic>? data;
  final String? error;
}

UserId

class UserId{
  final bool? success;
  final String? userId;
}

Connection

enum Connection {
  appleHealth,
  googleFit,
  samsung,
  freestyleLibre,
}

CustomPermission

enum CustomPermission {
  workoutTypes,
  activitySummary,
  location,
  calories,
  steps,
  heartRate,
  heartRateVariability,
  vo2max,
  height,
  activeDurations,
  weight,
  flightsClimbed,
  bmi,
  bodyFat,
  exerciseDistance,
  gender,
  dateOfBirth,
  basalEnergyBurned,
  swimmingSummary,
  restingHeartRate,
  bloodPressure,
  bloodGlucose,
  bodyTemperature,
  leanBodyMass,
  oxygenSaturation,
  sleepAnalysis,
  respiratoryRate,
  nutritionSodium,
  nutritionProtein,
  nutritionCarbohydrates,
  nutritionFibre,
  nutritionFatTotal,
  nutritionSugar,
  nutritionVitaminC,
  nutritionVitaminA,
  nutritionCalories,
  nutritionWater,
  nutritionCholesterol,
  menstruation,
}