HKQuantitySample constructor
HKQuantitySample({})
Creates a new quantity sample with the specified parameters.
Requires core sample data plus a quantity measurement. The count parameter is required but can be null.
Implementation
HKQuantitySample({
required super.uuid,
required super.startDate,
required super.endDate,
super.metadata,
super.device,
super.sourceRevision,
required this.quantity,
required super.sampleType,
this.count,
});