Sample class abstract

A sample of data collected by HealthKit.

Implementers

Constructors

Sample({required String uuid, required DateTime start, required DateTime end, required SourceRevision sourceRevision, required Device? device, required Map<String, dynamic>? metadata, required SampleTypeId type})

Properties

device → Device?
The device that collected the sample.
final
end → DateTime
The end date of the sample.
final
hashCode → int
The hash code for this object.
no setterinherited
metadata → Map<String, dynamic>?
Additional metadata for the sample.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceRevision → SourceRevision
The source revision of the sample.
final
start → DateTime
The start date of the sample.
final
type → SampleTypeId
The type of the sample.
final
uuid → String
The unique identifier of the sample.
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