HKSample constructor
HKSample({})
Creates a new sample with the specified parameters.
Requires core identification and timing data, with optional metadata, device information, and source details.
Implementation
HKSample({
required this.uuid,
required this.startDate,
required this.endDate,
required this.sampleType,
this.metadata,
this.device,
this.sourceRevision,
});