HKSource class

Represents a source of health data in HealthKit.

Identifies an app or service that provided health information to HealthKit through its bundle identifier and name.

Constructors

HKSource({required String bundleIdentifier, required String name})
Creates a new source with the specified bundle identifier and name.
const

Properties

bundleIdentifier String
The bundle identifier of the source app.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The display name of the source app.
final
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
toString() String
A string representation of this object.
inherited

Operators

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