SleepSummary class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

SleepSummary({String? id, required DateTime startDate, required DateTime endDate, required String sourceBundle, List<QuantitySample> heartRate = const [], List<QuantitySample> restingHeartRate = const [], List<QuantitySample> heartRateVariability = const [], List<QuantitySample> oxygenSaturation = const [], List<QuantitySample> respiratoryRate = const []})
SleepSummary.fromJson(Map<String, dynamic> json)
factory

Properties

endDate DateTime
final
hashCode int
The hash code for this object.
no setterinherited
heartRate List<QuantitySample>
final
heartRateVariability List<QuantitySample>
final
id String?
final
oxygenSaturation List<QuantitySample>
final
respiratoryRate List<QuantitySample>
final
restingHeartRate List<QuantitySample>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceBundle String
final
startDate DateTime
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited