HealthConnectMetadata class

Contains metadata associated with health records from Health Connect.

Includes information about the record's origin, modification time, and recording method.

Constructors

HealthConnectMetadata({String? clientRecordId, int? clientRecordVersion, required String dataOrigin, String? device, required String id, required DateTime lastModifiedTime, required int recordingMethod})
Creates a new metadata instance with the specified parameters.

Properties

clientRecordId String?
Optional client-specific identifier for the record.
getter/setter pair
clientRecordVersion int?
Version of the client record, if versioning is used.
getter/setter pair
dataOrigin String
Source application or service that created the data.
getter/setter pair
device String?
Optional identifier of the device that recorded the data.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
Unique identifier for this health record.
getter/setter pair
lastModifiedTime DateTime
Timestamp when this record was last modified.
getter/setter pair
recordingMethod int
Integer code representing how the data was recorded.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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