AppleHealth class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
health
↔ Health
-
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authorizationStatus(HealthDataType dataType)
→ Future<bool>
-
-
getDataPoint(List<HealthDataType> types, DateTime start, DateTime end)
→ Future<List<HealthDataPoint>>
-
-
getTotalSteps(DateTime start, DateTime end)
→ Future<int>
-
-
hasPermission(List<HealthPermission> healthPermissions)
→ Future<bool>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
requestAuthorization(List<HealthPermission> healthPermissions)
→ Future<bool>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
writeActivity({required AppleHealthActivityType activityType, required DateTime start, required DateTime end, int? calories, int? distance})
→ Future<bool>
-
-
writeAudiogram({required List<double> frequencies, required List<double> leftEarSensitivities, required List<double> rightEarSensitivities, required DateTime start, required DateTime end})
→ Future<bool>
-
-
writeBloodOxygen({required double saturation, required DateTime start, required DateTime end, dynamic recordingMethod = RecordingMethod.automatic})
→ Future<bool>
-
-
writeBloodPressure({required int systolic, required int diastolic, required DateTime start, required DateTime end})
→ Future<bool>
-
-
writeMeal({double? caloriesConsumed, double? carbohydrates, double? protein, double? fatTotal, String? name, required MealType mealType, required DateTime start, required DateTime end})
→ Future<bool>
-
-
writeParameter({required AppleHealthParameterType parameterType, required DateTime start, required DateTime end, required double value})
→ Future<bool>
-