Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
António Valente committed Jan 2, 2024
1 parent 70ca394 commit f40b344
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/health/lib/src/health_value_types.dart
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ class ElectrocardiogramVoltageValue extends HealthValue {
String toString() => voltage.toString();
}

/// A [HealthValue] object from insulin delivery (iOS only)
/// Parameters:
/// * [units] - the amount of units of insulin taken
/// * [reason] - if it's basal, bolus or unknown reason for insulin dosage
class InsulinDeliveryHealthValue extends HealthValue {
double units;
InsulinDeliveryReason reason;
Expand Down

0 comments on commit f40b344

Please sign in to comment.