Electrocardiogram constructor

Electrocardiogram({
  1. required String uuid,
  2. required DateTime start,
  3. required DateTime end,
  4. required SourceRevision sourceRevision,
  5. required int numberOfVoltageMeasurements,
  6. required SymptomsStatus symptomsStatus,
  7. required Classification classification,
  8. Map<String, double>? averageHeartRate,
  9. Map<String, double>? samplingFrequency,
  10. Map<String, dynamic>? metadata,
  11. Device? device,
  12. SampleTypeId type = HKSampleTypeIdentifier.dataElectrocardiogram,
})

Implementation

Electrocardiogram({
  required super.uuid,
  required super.start,
  required super.end,
  required super.sourceRevision,
  required this.numberOfVoltageMeasurements,
  required this.symptomsStatus,
  required this.classification,
  this.averageHeartRate,
  this.samplingFrequency,
  super.metadata,
  super.device,
  super.type = HKSampleTypeIdentifier.dataElectrocardiogram,
});